indydevguy / assetinjector-bundle
Makes it easier to display scripts and stylesheets in a managed way. Can also display twig templates with variables.
Installs: 155
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- ext-json: *
- doctrine/doctrine-bundle: ^2.0|^3.0
- symfony/framework-bundle: ^4.0|^5.0|^6.0|^7.0
- symfony/security-bundle: ^4.0|^5.0|^6.0|^7.0
README
###What is it and how does it work?
Well its a manager... of assets hehe no seriously it manages assets like css, js and even dynamic twig templates.
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require indydevguy/assetinjector-bundle
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
If you are using Symfony Flex this should be done for you.
If you are not using Symfony Flex then you have to enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
<?php // config/bundles.php return [ // ... IndyDevGuy\AssetinjectorBundle\AssetInjectorBundle::class => ['all' => true], // ... ];
###Installation Complete