PHP code example of clumsy / cms

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

    

clumsy / cms example snippets


Clumsy\CMS\CMSServiceProvider::class,

'Clumsy' => Clumsy\CMS\Facades\Clumsy::class,
'Overseer' => Clumsy\CMS\Facades\Overseer::class,
'Shortcode' => Clumsy\CMS\Facades\Shortcode::class,



Route::group(['prefix' => 'admin', 'middleware' => ['web', 'clumsy']], function () {
    Route::resource('post', 'PostsController');
});

php artisan vendor:publish --provider="Clumsy\CMS\CMSServiceProvider" --tag=config

php artisan migrate

php artisan clumsy:publish

php artisan clumsy:user

php artisan clumsy:resource post

php artisan vendor:publish --provider="Clumsy\CMS\CMSServiceProvider" --tag=views