cpsit / frontend-asset-handler
Composer library to download and extract Frontend assets in Composer projects
Installs: 15 612
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 8
Forks: 3
Open Issues: 2
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.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 || ^6.0
- 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: ^2.0
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpstan/phpstan-symfony: ^2.0
- phpstan/phpstan-webmozart-assert: ^2.0
- phpunit/phpunit: ^10.1 || ^11.0
- rector/rector: ^2.0@rc
- seld/jsonlint: ^1.10
Suggests
- gmostafa/php-graphql-client: Used to perform GraphQL requests within GithubVcsProvider (^1.13)
- dev-main
- 4.0.9
- 4.0.8
- 4.0.7
- 4.0.6
- 4.0.5
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.0.1
- 3.0.0
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.4.0
- 1.3.0
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-renovate/ergebnisjson-packages
- dev-renovate/justinrainbow-json-schema-6.x
- dev-renovate/major-phpstan-packages
- dev-upgrade-12
This package is auto-updated.
Last update: 2024-12-05 06:27:52 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).