PHP code example of kezeneilhou / cms-laravel

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

    

kezeneilhou / cms-laravel example snippets


use App\Http\Controllers\PostController;
use App\Http\Controllers\QuillUploadController;

Route::resource('post', PostController::class);
Route::post('/upload-image', [QuillUploadController::class, 'uploadImage'])->name('quill.upload');
Route::post('/upload-file', [QuillUploadController::class, 'uploadFile'])->name('quill.upload.file');

namespace Kezeneilhou\CmsLaravel\Models;

namespace App\Models;
bash
php artisan vendor:publish