PHP code example of opifer / cms-bundle

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

    

opifer / cms-bundle example snippets


use Opifer\CmsBundle\Kernel\Kernel;

class AppKernel extends Kernel
{
    /**
     * Register bundles
     *
     * @return array
     */
    public function registerBundles()
    {
        $bundles = [
            // Add the bundles for your own application here
            new AppBundle\AppBundle(),
        ];

        // The parent bundles array must be passed as the first parameter, cause
        // our CmsBundle holds all