syrian-open-source/laravel-short-artisan
Composer 安装命令:
composer require syrian-open-source/laravel-short-artisan
包简介
A set of php artisan aliases (for windows only)
README 文档
README
This package is meant to be installed globally, and it's a set of aliases for php artisan commands. It doesn't require anything to be installed just add it with composer as a global dependency, run the installation command, and you're good to go.
composer global require syrian-open-source/laravel-short-artisan short-artisan-install
Usage
Once this package is installed go to any Laravel project folder and use it:
# basic usage art make:model Post -crm # short for php artisan make:model Post -crm # you can make it shorter like this model Post -crm
List of available aliases
| Alias | Command |
|---|---|
art |
php artisan |
clear |
php artisan optimize:clear |
controller |
php artisan make:controller |
event |
php artisan make:event |
factory |
php artisan make:factory |
fresh |
php artisan migrate:fresh |
link |
php artisan storage:link |
listen |
php artisan queue:listen |
listener |
php artisan make:listener |
factory |
php artisan make:factory |
make |
php artisan make: |
mail |
php artisan make:mail |
middleware |
php artisan make:middleware |
migrate |
php artisan migrate |
migration |
php artisan make:migration |
model |
php artisan make:model |
mtest |
php artisan make:test |
notification |
php artisan make:notification |
pest |
php artisan make:test --pest |
policy |
php artisan make:policy |
publish |
php artisan vendor:publish |
request |
php artisan make:request |
resource |
php artisan make:resource |
seed |
php artisan seed |
seeder |
php artisan make:seeder |
serve |
php artisan serve |
test |
php artisan test |
tinker |
php artisan make:tinker |
Uninstallation
To remove the aliases all you have to do is run this command:
short-artisan-uninstall
TODO
- Add uninstall command
- Add support to all artisan commands
- Refactor commands with
symfony/console - Add output to commands
Changelog
Please see the CHANGELOG for more information about what has changed or updated or added recently.
Security
If you discover any security related issues, please email them first to roduan98@gmail.com, if we do not fix it within a short period of time please open a new issue describing your problem.
Credits
About Syrian Open Source
The Syrian Open Source platform is the first platform on GitHub dedicated to bringing Syrian developers from different cultures and experiences together, to work on projects in different languages, tasks, and versions, and works to attract Syrian developers to contribute more under one platform to open source software, work on it, and issue it with high quality and advanced engineering features, which It stimulates the dissemination of the open-source concept in the Syrian software community, and also contributes to raising the efficiency of developers by working on distributed systems and teams.
syrian-open-source/laravel-short-artisan 适用场景与选型建议
syrian-open-source/laravel-short-artisan 是一款 基于 Batchfile 开发的 Composer 扩展包,目前已累计 216 次下载、GitHub Stars 达 17, 最近一次更新时间为 2022 年 04 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 syrian-open-source/laravel-short-artisan 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 syrian-open-source/laravel-short-artisan 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 216
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 17
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-04-09