PHP code example of blueraster / csfilesystem

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

    

blueraster / csfilesystem example snippets


class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
            new Symfony\Bundle\SecurityBundle\SecurityBundle(),
            new Symfony\Bundle\TwigBundle\TwigBundle(),
            new Symfony\Bundle\MonologBundle\MonologBundle(),
            new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
            
            // add this line before AppBundle()
            new BlueRaster\CSFilesystem\CSFilesystemBundle(),
            
            new AppBundle\AppBundle(),            
        ];


php composer.phar config --unset platform.php

php composer.phar config --unset scripts.post-update-cmd