Registry / utility / symfony-asset

symfony-asset

JSON →
library8.1.0phppackagistunverified

Manages URL generation and versioning of web assets such as CSS stylesheets, JavaScript files and image files.

composer require symfony/asset
INSTALL
IMPORT
SIG · SYMFONY-ASSET
S
symfony-asset
utilityphpv8.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Package
use Symfony\Component\Asset\Package;

Create an asset package and generate a URL for a CSS file.

use Symfony\Component\Asset\Package; use Symfony\Component\Asset\VersionStrategy\EmptyVersionStrategy; $package = new Package(new EmptyVersionStrategy()); echo $package->getUrl('style.css');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
8.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
symfony-asset — pip install symfony-asset · libregistry