giaphiep/post
Composer 安装命令:
composer require giaphiep/post
包简介
Admin Post
关键字:
README 文档
README
Admin template
Install
Via Composer
$ composer require giaphiep/post
Usage
- In configs/app.php file, add the following to the providers array (optional in version 5.5)
GiapHiep\Post\PostServiceProvider::class, Yajra\DataTables\DataTablesServiceProvider::class,
and in aliases array
'DataTables' => Yajra\DataTables\Facades\DataTables::class,
- Run commands to publish the package’s config and assets and database
$ php artisan vendor:publish $ php artisan migrate
- Run commands to clear cache
php artisan route:clear php artisan config:clear
-
Ensure that the files & images directories (in config/lfm.php) are writable by your web server (run commands like chown or chmod).
-
In app/Http/Kernel.php, Add the following to the routeMiddleware array
'optimizeImages' => \Spatie\LaravelImageOptimizer\Middlewares\OptimizeImages::class,
- In config/lfm.php, add the following to the middlewares array
'middlewares' => [ ..., 'optimizeImages'],
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email hiep.giapvan@gmail.com instead of using the issue tracker.
Credits
- [Giáp Hiệp][https://giaphiep.com]
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 52
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-11-12