PHP code example of chernogolov / mtm

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

    

chernogolov / mtm example snippets

rb
php artisan richtext:install
rb
php artisan make:model Post -mc
rb
namespace App\Http\Controllers;

use Chernogolov\Mtm\Controllers\CrudBaseController;
use Illuminate\Http\Request;
 
class PostController extends CrudBaseController{
    public $modelName = 'Post';
    public function __construct(){
      parent::__construct();
   }
}