Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Assetic Bundle

Assetic Bundle Laravel Package

smartcitylink/assetic-bundle

Assetic bundle for Laravel that integrates the Assetic asset pipeline, letting you compile, combine, filter, and cache CSS and JavaScript assets through configurable filters and Twig-like templates. Simplifies asset versioning and production builds for PHP applications.

View on GitHub
Deep Wiki
Context7

Integrates Assetic into Symfony2

Frequently asked questions about Assetic Bundle
What is smartcitylink/assetic-bundle used for?
It is an Assetic bundle for Laravel that integrates the Assetic asset pipeline into PHP applications. It lets you compile, combine, filter, and cache CSS and JavaScript assets through configurable filters and Twig-like templates. It is intended to simplify asset versioning and production builds.
How do I install smartcitylink/assetic-bundle in Laravel?
Install it with Composer using composer require smartcitylink/assetic-bundle. Then follow the package README for any Laravel service provider registration and configuration publishing steps. Because this is a backup repository, verify the documented setup against your Laravel version in a test application first.
Which Laravel versions does this Assetic bundle support?
The provided package metadata does not list specific supported Laravel versions. Check the package composer.json and README for version constraints before installing it. Since this is a 2021 backup of sanpi assetic-bundle, test compatibility with your Laravel and PHP versions carefully.
How do I configure CSS and JavaScript filters?
Assetic filters are configured through the package configuration, where you define filters and apply them to CSS or JavaScript asset collections. The exact configuration keys and available filters depend on the Assetic filters you install and the package README. Start with a small asset collection and verify the compiled output before adding more filters.
Can it combine and minify assets for production?
Yes, the Assetic pipeline is designed to compile, combine, filter, and cache CSS and JavaScript assets. Production builds can use configured filters such as minifiers when those filters are installed and enabled. Confirm the exact production build command and filter setup in the package documentation.
How does asset caching and versioning work in this package?
The package integrates Assetic asset caching so compiled CSS and JavaScript can be reused instead of rebuilt on every request. It also supports asset versioning to help bust browser caches when files change. The exact cache and versioning options should be checked in the README and configuration files.
Is smartcitylink/assetic-bundle still maintained?
This repository is described as a backup of sanpi assetic-bundle created on 2021-10-18 because sanpis repositories were deleted. That means it may not receive active maintenance, security fixes, or Laravel compatibility updates. Evaluate it carefully for new projects and consider a maintained alternative or your own fork if you depend on it.
How can I test asset compilation in a Laravel app?
Run the asset compilation in a local or test environment, clear any asset cache, and verify that the expected CSS and JavaScript files are generated. Add feature tests that request pages and assert the rendered asset URLs or versioned filenames. This helps catch missing filters, configuration errors, and cache issues before deployment.
What are alternatives to smartcitylink/assetic-bundle for Laravel assets?
For most modern Laravel applications, Laravel Vite or Laravel Mix are the standard asset bundling options. If you specifically need an Assetic-style PHP pipeline, compare this package with maintained Assetic integrations or a custom Symfony Assetic setup. Choose based on your Laravel version, build tooling, and long-term maintenance needs.
Can I use Twig-like templates with Assetic in Laravel?
The package description says it supports Twig-like templates for defining and managing asset collections. This can help organize asset inputs, filters, and output settings in a familiar template style. Check the README for the exact template syntax and how it maps to Laravel configuration.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo