Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 2, 2024 via composer

kriswallsmith/assetic v1.4.0

Asset Management for PHP
Package summary
Share
0
issues
1
license
2
MIT
Package created
10 Nov 2011
Version published
11 Nov 2016
Maintainers
1
Total deps
2
Direct deps
1
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
kriswallsmith/assetic@v1.4.0
symfony/process@v3.4.47
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

1
All Dependencies CSV
β“˜ This is a list of kriswallsmith/assetic 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
symfony/processv3.4.47-MIT
prod

Visualizations

Frequently Asked Questions

What does kriswallsmith/assetic do?

The Kriswallsmith/assetic is an adept asset management framework for PHP, aimed at offering excellent control over your CSS, JavaScript, and image files. It's known for providing utilities for file combination, versioning, and many other features which essentially reduce the load time for your web pages.

How do you use kriswallsmith/assetic?

To use Kriswallsmith/assetic in your PHP applications, you would first need to include it in your project using Composer. It can then be consumed by creating instances of various classes, such as AssetCollection, FileAsset, GlobAsset, etc., depending on your use case. Here's an example of how it can be employed:

<?php
use Assetic\Asset\AssetCollection;
use Assetic\Asset\FileAsset;
use Assetic\Asset\GlobAsset;

$js = new AssetCollection(array(
    new GlobAsset('/path/to/js/*'),
    new FileAsset('/path/to/another.js'),
));

echo $js->dump();

In the above snippet, an AssetCollection is created containing a GlobAsset and a FileAsset. The dump method is then called to combine the resources into a single string.

Where are the kriswallsmith/assetic docs?

The documentation for Kriswallsmith/assetic can be found directly within its repository, hosted on GitHub. Detailed instructions and usage examples are provided in the readme file of the repository. Moreover, a description of each class and its methods can be found in the source files within the repo, annotated as comments against most declarations.