Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 702 Bytes

File metadata and controls

48 lines (33 loc) · 702 Bytes

Podsumowanie

Symfony < 3.4

composer req makoso/data-grid-bundle

Włącz bundle

<?php

use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            //...
            new AppBundle\AppBundle(),
            new Makoso\DatagridBundle\MakosoDatagridBundle(),
        ];
        
        //...

        return $bundles;
    }
}
./bin/console assets:install

Gotowe!

Symfony >= 3.4

composer req makoso/data-grid-bundle

Gotowe Symfony Flex wykona dalszą pracę, włączy bundle i zainstaluje assety