deesynertz/laravel-clean
最新稳定版本:v1.0.3
Composer 安装命令:
composer require deesynertz/laravel-clean
包简介
The Laravel Convenience Clear Command is a handy package designed to streamline your Laravel application maintenance tasks with just a single command. With this package, you can execute multiple Artisan commands at once, simplifying the process of clearing various caches and configurations
README 文档
README
The Laravel Convenience Clear Command is a handy package designed to streamline your Laravel application maintenance tasks with just a single command. With this package, you can execute multiple Artisan commands at once, simplifying the process of clearing various caches and configurations.
Features
- Single Command Execution: Execute multiple Artisan commands with a single command, saving time and effort.
- Comprehensive Clearing: Clear various caches and configurations, including views, routes, caches, and configurations, in one go.
- Improved Maintenance Workflow: Simplify your Laravel application maintenance tasks and keep your development environment clean and optimized.
Installation
Using Composer run
composer require deesynertz/laravel-clean
Laravel >= 5.5
That's it! The package is auto-discovered on 5.5 and up!
Laravel <= 5.4
Add the service provider to the providers array in your config/app.php file:
'providers' => [ // Other Laravel service providers... /* * Package Service Providers... */ Deesynertz\Clean\CleanServiceProvider::class, // Other package service providers... ],
Usage
Simply after installing the package via Composer and execute the provided Artisan command to clear all necessary caches and configurations, in your Terminal or cmd (windows user) run:
php artisan clean:all
Included Commands
view:clear: Clear compiled view files.
route:clear: Clear route cache.
cache:clear: Clear the application cache.
config:clear: Clear the configuration cache.
optimize:clear: Clear the cached bootstrap files.
spatie.permission.cache : if Spatie Permission package is installed
Contributions
Contributions and feedback are welcome! Feel free to open an issue or submit a pull request on GitHub.
License
This package is open-source software licensed under the MIT license.
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-12