laravel-hammer maintained by nookery
Last update
2021/05/12 10:10
License
Require
- php >=7.0
- illuminate/support ~8.0
- friendsofphp/php-cs-fixer ^2.16
- barryvdh/laravel-ide-helper ^2.0
Last update
2021/05/12 10:10
License
Require
- php >=7.0
- illuminate/support ~8.0
- friendsofphp/php-cs-fixer ^2.16
- barryvdh/laravel-ide-helper ^2.0
Last update
2021/05/08 11:42
License
Require
- php >=7.0
- illuminate/support ~8.0
- friendsofphp/php-cs-fixer ^2.16
- barryvdh/laravel-ide-helper ^2.0
Last update
2021/04/26 10:19
License
Require
- php >=7.0
- illuminate/support ~8.0
- friendsofphp/php-cs-fixer ^2.16
- barryvdh/laravel-ide-helper ^2.0
Last update
2021/04/07 15:48
License
Require
- php >=7.0
- illuminate/support ~8.0
- friendsofphp/php-cs-fixer ^2.16
- barryvdh/laravel-ide-helper ^2.0
Last update
2021/01/19 10:08
License
Require
- php >=7.0
- illuminate/support ~8.0
- friendsofphp/php-cs-fixer ^2.16
- barryvdh/laravel-ide-helper ^2.0
Last update
2021/01/19 09:44
License
Require
- php >=7.0
- illuminate/support ~8.0
- friendsofphp/php-cs-fixer ^2.16
- barryvdh/laravel-ide-helper ^2.0
Last update
2021/01/19 08:19
License
Require
- php >=7.0
- illuminate/support ~8.0
- friendsofphp/php-cs-fixer ^2.16
- barryvdh/laravel-ide-helper ^2.0
Last update
2021/01/19 08:13
License
Require
- php >=7.0
- illuminate/support ~8.0
- friendsofphp/php-cs-fixer ^2.16
Laravel Hammer 🔨
介绍
Laravel 的 Artisan 命令扩展包,增加清理缓存、刷新应用等功能。
安装
composer require nookery/laravel-hammer --dev
使用
php artisan ping
# 输出
pang
可用的命令:
| 命令 | 用途 |
|---|---|
| check | 检查代码、生成IDE辅助文件、运行单元测试 |
| clear | 清理一切缓存 |
| fix | 检查和修正代码 |
| foo | 输出:bar |
| fresh | 清理缓存,重装依赖,刷新应用 |
| ide | 生成IDE辅助文件 |
| make:database {name} | 新建数据库 |
| ping | 输出:pang |
| version | 输出重要组件的版本号 |