startap/sail-podman
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.
startap/sail-podman 适用场景与选型建议
startap/sail-podman 是一款 基于 Shell 开发的 Composer 扩展包,目前已累计 410 次下载、GitHub Stars 达 11, 最近一次更新时间为 2023 年 12 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「docker」 「sail」 「podman」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 startap/sail-podman 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 startap/sail-podman 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 startap/sail-podman 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Docker based testing environment for shopware projects.
The Laragoon utility package
Docker files for basic PHP package development
Docker compose for Robo Task Runner
Deployment command
Enable https on Laravel sail powered apps.
统计信息
- 总下载量: 410
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 37
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-25