yottacms / yotta-admin-bundle
Yotta admin bundle
v0.1.17
2018-09-05 20:31 UTC
Requires
- php: >=7.1
- symfony/asset: ^4.1
- yottacms/framework: 0.*
- yottacms/yotta-router-bundle: 0.*
- yottacms/yotta-unit-bundle: 0.*
Requires (Dev)
- phpunit/phpunit: ^5.6.4
- symfony/config: ^3.2
- symfony/dependency-injection: ^3.2
- symfony/event-dispatcher: ^3.3
- symfony/framework-bundle: ^3.3
- symfony/http-foundation: ^3.3
- symfony/http-kernel: ^3.3
- twig/twig: ^2.4
README
Скелет панели администратора
Installation
composer require yottacms/yotta-admin-bundle
// app/AppKernel.php use YottaCms\Framework\Component\HttpKernel\Kernel; // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... \YottaCms\Bundle\YottaAdminBundle\YottaAdminBundle::class ); // ... return $this->preloadBundles($bundles); } // ... }
# app/config/routing.yml # ... yotta_admin: resource: '@YottaAdminBundle/Resources/config/routing.yml'
# and one more thing...
php bin/console assets:install
Default configuration
# app/config/config.yml # ... yotta_admin: enabled: true templating: use_react_library: true # automatic insert js libraries for React in output html