1. Go to this page and download the library: Download huantime/laravel-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/ */
huantime / laravel-cms example snippets
// Make sure you already configured the database in the .env
// Go to the laravel project folder and install it via composer
// Initialize the CMS (You can set up database table prefix and locale here)
composer =uninstall
# Change homepage_route to / in config/laravel-cms.php
'homepage_route' => env('LARAVEL_CMS_HOMEPAGE_ROUTE', '/'),
# Remove the existing / route in the routes/web.php
// Route::get('/', function () {
// return view('welcome');
// });