startap/sail-podman 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

startap/sail-podman

最新稳定版本:1.0.3

Composer 安装命令:

composer require startap/sail-podman

包简介

Podman compatibility layer to @laravel/sail application.

README 文档

README

This is just a simple fork from Laravel Sail project, aimed to provide compatibility with Podman and Podman Composer. All we did was tweak some binaries to be able to recognize Podman instead of Docker when running Sail. All the rest of source code was left untouched for now.


🛡️ Can I rely on this package? Why not Sail?

Well, Sail it's very good. But they do not have plans to support Podman (see #83 and this comment from #198). We already use Podman and made a change locally on Sail binary, inside vendor folder.

That change got away with every new Sail update. So, to keep in track with Sail upstream changes and provide a compatibility layer with Podman, we create this package and change a few things in bin/sail file to be able to recognize Podman/Podman Compose as executable.

For now, these changes are hardcoded, but we can improve it later.


🤔 What's Laravel Sail?

Sail provides a Docker powered local development experience for Laravel that is compatible with macOS, Windows (WSL2), and Linux. Other than Docker, no software or libraries are required to be installed on your local computer before using Sail. Sail's simple CLI means you can start building your Laravel application without any previous Docker experience.

📜 You can read more about it on laravel.com/docs/sail or Laravel Sail GitHub repository.


📦 How to install?

You can use this package right from Packagist repository with Composer.

composer require --dev startap/sail-podman

About users and permissions

If you are facing an issue regarding user permissions and access file denied, try this workaround. After try it, please answer with a 👍 or 👎 so I can take action into this.

⚠️ Compatibility note

This package is based on laravel/sail package. Inside our composer.json we declare that our package replaces laravel/sail as a dev dependency.

So, if you already have Laravel Sail installed, Composer will automatically remove it when installing this package. If you uninstall it, it is possible to install laravel/sail again per their own rules and procedures.

How to contribute

If you want to contribute, suggest a feature or report a bug, be welcome. It's all in this repository: issues, discussions and pull requests.

Sponsor us

You can sponsor us via GitHub Sponsors. It is right on the sidebar.

License

This project is open-sourced software licensed under the MIT license.

统计信息

  • 总下载量: 379
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 12
  • 点击次数: 8
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 11
  • Watchers: 0
  • Forks: 519
  • 开发语言: Shell

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-25