PHP code example of reinvanoyen / cmf

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

    

reinvanoyen / cmf example snippets


'providers' => [
    ...
    \ReinVanOyen\Cmf\CmfServiceProvider::class,
];

'providers' => [
    ...
    App\Providers\CmfServiceProvider::class,
];

public function modules(): array
{
    return [
        new \App\Cmf\Modules\ProjectModule(),
    ];
}
ssh
php artisan cmf:install
ssh
php artisan migrate
ssh
php artisan cmf:user
ssh
php artisan cmf:install
ssh
php artisan migrate
ssh
php artisan cmf:meta Project
ssh
php artisan cmf:module Project