kodoyosa / dashboard
Simple dashboard
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:HTML
Type:symfony-bundle
Requires
- php: >=5.5.9
- symfony/assetic-bundle: ^2.8
- symfony/symfony: 3.3.*
This package is not auto-updated.
Last update: 2024-01-02 23:22:18 UTC
README
Dashboard Bundle for symfony >= 3.3
This bundle will require symfony/assetic-bundle symfony's document for assetic : https://symfony.com/doc/current/assetic/asset_management.html
####Requirements :
- twbs/bootstrap 4.0.0-beta
- add
"twbs/bootstrap": "4.0.0-beta"
to your composer.json - then run
composer update
- add
####Installation :
-
composer require kodoyosa/dashboard
-
add
new Kodoyosa\DashboardBundle\KodoyosaDashboardBundle(),
to $bundles[] in registerBundles() from app/AppKernel.php -
call the routes in app/config/routing.yml. Basically you can add :
kodo_dashboard: resource: "@KodoyosaDashboardBundle/Resources/config/routing.yml" prefix: /dashboard
-
Assetic configuration in app/config/config.yml to get access to
bootstrap_js
andbootstrap_css
# Assetic Configuration assetic: filters: cssrewrite: ~ assets: bootstrap_js: inputs: - '%kernel.root_dir%/../vendor/twbs/bootstrap/assets/js/vendor/popper.min.js' - '%kernel.root_dir%/../vendor/twbs/bootstrap/dist/js/bootstrap.js' bootstrap_css: inputs: - '%kernel.root_dir%/../vendor/twbs/bootstrap/dist/css/bootstrap.min.css' - '%kernel.root_dir%/../vendor/twbs/bootstrap/dist/css/bootstrap-grid.min.css' - '%kernel.root_dir%/../vendor/twbs/bootstrap/dist/css/bootstrap-reboot.min.css'
-
Update database schema :
php bin/console doctrine:schema:update --force
-
run : `php bin/console assetic:dump
That's it !