PHP code example of chuckbe / chuckcms

1. Go to this page and download the library: Download chuckbe/chuckcms 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/ */

    

chuckbe / chuckcms example snippets


Chuck::auth();
Chuck::routes();
Chuck::frontend();

php artisan vendor:publish --provider="Chuckbe\Chuckcms\ChuckcmsServiceProvider"

php artisan vendor:publish --tag=lfm_public

php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"

php artisan migrate

php artisan chuckcms:generate-site

php artisan chuckcms:generate-roles-permissions

php artisan chuckcms:generate-super-admin

php artisan chuckcms:generate-sitemap