PHP code example of despark / ignicms

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

    

despark / ignicms example snippets


   ...
   /*
    * Despark CMS Service Provider
    */
     Despark\Cms\Providers\AdminServiceProvider::class,
     Despark\Cms\Providers\FieldServiceProvider::class,

   /*
    * Application Service Providers...
    */
     App\Providers\AppServiceProvider::class,
   ...
  

    php artisan igni:admin:install
  

    php artisan db:seed --class=DesparkDatabaseSeeder
  

    php artisan igni:admin:resource "Blog Post"