PHP code example of proxilog / proxicms-content-bundle

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

    

proxilog / proxicms-content-bundle example snippets


// config/bundles.php
return [
    //..
    ProxiCMS\ContentBundle\ProxiCMSContentBundle::class => ['all' => true],
];

// src/Controller/Admin/DashboardController.php
public function configureMenuItems(): iterable
    {
        //...
        yield MenuItem::linkToCrud('Contenus', 'fas fa-pager', Content::class)
                    ->setController(ContentCrudController::class);
    }