PHP code example of livecms / core

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

    

livecms / core example snippets

`
         php artisan vendor:publish --force
    
`
        php artisan optimize
        php artisan migrate --seed
    
`
        protected function mapWebRoutes()
        {
            Route::group([
                'middleware' => 'web',
                'namespace' => $this->namespace,
            ], function ($router) {
                liveCMSRouter($router, function ($router, $adminSlug, $subDomain, $subFolder) {