mqm / asset-bundle
Symfony2 Bundle to store assets in filesystem and database
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.0
- symfony/framework-bundle: 2.*
Suggests
- symfony/twig-bundle: 2.*
This package is not auto-updated.
Last update: 2024-10-26 13:14:12 UTC
README
To Test a Bundle like being inside a standard Symfony app do the following steps: How to configure it: - Copy all the files inside the root Bundle dir - Edit the file Tests/autoload.php.dist and change the 'Your\\Bundle\\Namespace' according to the Namespace of your bundle, also in the line: $path = __DIR__.'/../'.implode('/', array_slice(explode('\\', $class), 3) change the number 3 for the number of slashes +1 of your Namespace, in the previous example it is 3. - Setup .travis.yml and the rest of files for more specific config for your bundle What does this do? - Download the dependencies specified in vendor/vendors.php file - Run a phpunit command which reads the config of phpunit.xml.dist - Setup the Symfony2 environment configuration specified in Tests/bootstrap.php - Setup autoload config specified in Tests/autoload.php - Run the Tests