adepem/laravel-assets-upload
最新稳定版本:0.4.0
Composer 安装命令:
composer require adepem/laravel-assets-upload
包简介
Upload your Laravel public directory to a filesystem with an artisan command
README 文档
README
Installation
You can install the package via composer:
composer require adepem/laravel-assets-upload
You can publish the config file with:
php artisan vendor:publish --provider="Adepem\AssetsUpload\AssetsUploadServiceProvider" --tag="assets-upload-config"
This is the contents of the published config file:
return [ 'filesystem' => env('ASSETS_UPLOAD_FILESYSTEM', false), 'cache-control' => [ 'css' => env('ASSETS_UPLOAD_CACHE_CONTROL_CSS', 604800), // 7 days 'js' => env('ASSETS_UPLOAD_CACHE_CONTROL_JS', 604800), // 7 days 'woff2' => env('ASSETS_UPLOAD_CACHE_CONTROL_WOFF2', 31536000), // 365 days ], 'directories' => [ 'public/css', 'public/js', ] ];
Usage
php artisan assets:upload
Testing
composer test Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 29.73k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04