axeldotdev/ship
Composer 安装命令:
composer require axeldotdev/ship
包简介
Ship allow you to install code your application needs.
关键字:
README 文档
README
Taylor Otwell said at the 2025 Laracon EU "We must ship".
He also made a demo of the new starter kits for Livewire, React and Vue. They are really nice but like Breeze they lack some features and it's normal, they are starter kits after all. So I built Ship.
Ship is a quick way to bootstrap our applications with configuration and features that we all need like Larastan, Rector, Content Security Policy, oAuth connection, Two way authentication, Sessions management, Tenant management for SaaS and basic configurations.
Ship doesn't contains things like Horizon, Telescope, Solo, Pulse and others because those package are really simple to install, we just need to require them with Composer and use their installation command.
Note
Ship is a set of files and lines of code that I add to each of my projects manually... boring. It comes from other developers, other packages and me, it's a bunch of good stuff.
What Ship can do for us?
- Choose the right stack (livewire, react, volt, vue)
- Configure our
AppServiceProvider(immutable dates, vite prefetching, password rules, etc.) - Change the
COOKIE_SESSIONenv variable to an uuid - Change the layout logo name from "Laravel Starter kit" to your app name
- Ready the .env.example for production
- Remove Laravel config files (optionable)
- Add the session flash data to the Inertia middleware when using React or Vue
- Configure Content Security Policy with the Spatie package (optionable)
- Configure API management feature with Sanctum for your users (like we have on Jetstream) (optionable)
- Configure a sessions management feature for your users (like we have on Jetstream) (optionable)
- Configure a tenant management feature for your users (like we have on Jetstream but you can choose the name of the model) (optionable)
- Install Socialite (optionable)
- Install Larastan already configured (optionable)
- Install Rector already configured (optionable)
Every files are dropped in our applications, Ship is just an installation command with some stubs.
Coming soon
- Tests with Pest and PHPUnit
- Views in Livewire, React and Vue for Socialite connections
- Two Factor Authentication
If you have more ideas don't hesitate to write an issue or even write a pull request, I would be glad to discuss about it.
Installation
You can install the package via composer:
composer require --dev axeldotdev/ship
Then you just need to run the installation command:
php artisan ship:install
Tip
You can remove the package when you are done. It's just an installation command.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
axeldotdev/ship 适用场景与选型建议
axeldotdev/ship 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5 次下载、GitHub Stars 达 3, 最近一次更新时间为 2025 年 02 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「package」 「laravel」 「ship」 「axeldotdev」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 axeldotdev/ship 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 axeldotdev/ship 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 axeldotdev/ship 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A php wrapper for ShipStation's rest api
A php wrapper for ship station's rest api
Shipping Rate API
Add Shopify like fulfillments to your Craft Commerce orders.
Simple ASCII output of array data
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-02-11