cpsit / frontend-asset-handler
Composer library to download and extract Frontend assets in Composer projects
Installs: 15 218
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 8
Forks: 3
Open Issues: 4
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0
- composer-runtime-api: ^2.0
- ext-filter: *
- ext-json: *
- ext-mbstring: *
- ergebnis/json: ^1.0
- ergebnis/json-normalizer: ^4.0
- ergebnis/json-pointer: ^3.0
- ergebnis/json-printer: ^3.0
- ergebnis/json-schema-validator: ^4.0
- guzzlehttp/guzzle: ^7.0
- guzzlehttp/psr7: >= 1.8 < 3.0
- justinrainbow/json-schema: ^5.2
- ondram/ci-detector: ^4.1
- psr/http-client: ^1.0
- psr/http-message: ^1.0 || ^2.0
- symfony/config: ^5.4 || ^6.0 || ^7.0
- symfony/console: ^5.4 || ^6.0 || ^7.0
- symfony/dependency-injection: ^5.4 || ^6.0 || ^7.0
- symfony/filesystem: ^5.4 || ^6.0 || ^7.0
- symfony/finder: ^5.4 || ^6.0 || ^7.0
- symfony/process: ^5.4 || ^6.0 || ^7.0
- symfony/yaml: ^5.4 || ^6.0 || ^7.0
- webmozart/assert: ^1.10
Requires (Dev)
- armin/editorconfig-cli: ^1.6 || ^2.0
- cpsit/php-cs-fixer-config: ^1.1
- ergebnis/composer-normalize: ^2.18
- friendsofphp/php-cs-fixer: ^3.57
- gmostafa/php-graphql-client: ^1.13
- phpstan/extension-installer: ^1.2
- phpstan/phpstan: ^1.2
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-phpunit: ^1.0
- phpstan/phpstan-strict-rules: ^1.5
- phpstan/phpstan-symfony: ^1.1
- phpstan/phpstan-webmozart-assert: ^1.2
- phpunit/phpunit: ^10.1 || ^11.0
- rector/rector: ^1.0.0
- seld/jsonlint: ^1.10
Suggests
- gmostafa/php-graphql-client: Used to perform GraphQL requests within GithubVcsProvider (^1.13)
This package is auto-updated.
Last update: 2024-11-22 20:19:53 UTC
README
Frontend Asset Handler
π¦Β Packagist | πΎΒ Repository | πΒ Issue tracker
A Composer library that downloads and extracts Frontend assets to a dedicated path in PHP projects.
All Frontend assets are configured through an assets.json
file and can be easily maintained by
a dedicated CLI application.
π Features
- Command-line application to fetch Frontend assets
- Asset configuration via
assets.json
file - Automated integration into CI systems
- Easy extensible by custom asset providers and processors
- Designed for dependency injection
π₯ Getting started
-
Install the library:
composer require cpsit/frontend-asset-handler
-
Initialize a new
assets.json
file:vendor/bin/frontend-assets init
-
Fetch Frontend assets:
vendor/bin/frontend-assets fetch
π Documentation
- Installation
- Usage
- Command-line usage
- API usage
- Configuration
- Shipped components
- Dependency injection
- Migration
π§βπ» Contributing
Please have a look at CONTRIBUTING.md
.
π Credits
Direct download icons created by Pixel perfect - Flaticon
β License
This project is licensed under GNU General Public License 3.0 (or later).