PHP code example of sanlilin / admin-plugins

1. Go to this page and download the library: Download sanlilin/admin-plugins library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

sanlilin / admin-plugins example snippets


php artisan make:plugin ArticlePlugin

php artisan plugin:restart ArticlePlugin

php artisan plugin:make-controller ArticlePlugin ArticleController

php artisan plugin:make-model ArticlePlugin Article --migration

php artisan plugin:migrate ArticlePlugin

php artisan plugin:rollback ArticlePlugin

php artisan plugin:delete ArticlePlugin
shell
composer ugins-system:install
php artisan migrate