Downloads
Stars
Version
This is where your description should go. Take a look at contributing.md to see a to do list.
Via Composer
$ composer require yangze/laraveladminposttemplate
run generator command
php artisan admin:post-template --module=Crm --post=Post --cat=Category --stat=Statistic --comm=Comment --force
and then do like this
**************************
* generator file *
**************************
ApiController.php OK
CategoryController.php OK
CommentController.php OK
PostController.php OK
2019_12_26_171317_create_crm_category_table.php OK
2019_12_26_171317_create_crm_comment_table.php OK
2019_12_26_171317_create_crm_post_table.php OK
2019_12_26_171317_create_crm_statistic_table.php OK
CategoryModel.php OK
CommentModel.php OK
PostModel.php OK
StatisticModel.php OK
***************************************
* the next step you should do *
***************************************
// crm
$router->resource('crm/post', Crm\PostController::class);
$router->resource('crm/category', Crm\CategoryController::class);
$router->resource('crm/comment', Crm\CommentController::class);
Please see the changelog for more information on what has changed recently.
$ composer test
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
MIT. Please see the license file for more information.