Download the PHP package jbsnewmedia/asset-composer-bundle without Composer
On this page you can find all versions of the php package jbsnewmedia/asset-composer-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jbsnewmedia/asset-composer-bundle
More information about jbsnewmedia/asset-composer-bundle
Files in jbsnewmedia/asset-composer-bundle
Package asset-composer-bundle
Short Description A Symfony bundle to help you manage your assets
License MIT
Informations about the package asset-composer-bundle
AssetComposerBundle
AssetComposerBundle is a Symfony bundle that helps you manage and serve assets directly from the vendor
directory. It ensures all files are kept up-to-date by leveraging file modification timestamps for cache busting.
๐ Features
- Manage CSS/JS assets via Composer packages
- Automatic versioning using file timestamps
- Simple integration with Twig templates
- Supports production/dev-only assets via
assetcomposer.json
- Symfony 6 & 7 compatible
โ๏ธ Requirements
- PHP 8.1 or higher
- Symfony Framework 6.4 or 7.0
๐ฆ Installation
Use Composer to install the bundle:
`
๐ Usage
1. Install Asset Packages via Composer
2. Register Assets in Twig Templates
3. Render in Layout
๐ File Structure
๐งฐ Configuration (Optional)
You can create an assetcomposer.json
file in your asset packages to define which files should be exposed:
๐ง Development Tools
To maintain code quality, this project uses:
- PHP-CS-Fixer:
composer bin-ecs
- PHPStan:
composer bin-phpstan
- Rector:
composer bin-rector
Install and update tools using:
๐งช Testing & QA
All code adheres to modern PHP standards. Use the provided scripts to analyze and refactor the codebase:
๐ License
This bundle is licensed under the MIT license. See the LICENSE file for more details.
Developed by Juergen Schwind and other contributors.
๐ค Contributing
Contributions are welcome! If you'd like to contribute, please fork the repository and submit a pull request with your changes or improvements. We're looking for contributions in the following areas:
- Bug fixes
- Feature enhancements
- Documentation improvements
Before submitting your pull request, please ensure your changes are well-documented and follow the existing coding style of the project.
๐ซ Contact
If you have any questions, feature requests, or issues, please open an issue on our GitHub repository or submit a pull request.
Always up-to-date. Simple. Composer-native asset management.