Weave Code
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

Custom Assets Bundle Laravel Package

adrenalinkin/custom-assets-bundle

Symfony bundle to install assets from custom source folders into your project’s public/custom_assets directory, similar to assets:install. Configure one or more source paths via YAML and optionally run automatically via a Composer post-install/update script.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Custom Asset Management: Enables teams to maintain non-standard assets (e.g., vendor-specific JS/CSS, legacy files, or third-party integrations) outside the default Symfony asset pipeline, reducing conflicts with core asset handling.
  • Build vs. Buy: Justifies buying this lightweight package over custom development for teams needing a simple, configurable way to sync custom assets to public/ without reinventing the wheel.
  • Roadmap for Asset Isolation: Supports a phased migration strategy for projects with mixed asset sources (e.g., migrating from manual cp -r scripts to a managed workflow).
  • Multi-Environment Sync: Useful for teams deploying to multiple environments (dev/staging/prod) where custom assets must align across all instances.
  • Compliance/Versioning: Helps enforce asset versioning or checksums (via YAML config) for auditability or security (e.g., blocking tampered files).

When to Consider This Package

  • Adopt if:

    • Your project uses Symfony/Laravel and requires custom asset sources (e.g., non-webpack assets, legacy files, or third-party SDKs) that must be deployed to public/.
    • You need a lightweight alternative to assets:install for non-standard assets, avoiding manual rsync or cp commands.
    • Your team lacks time/resources to build a custom asset pipeline but needs reproducibility across environments.
    • You’re using Composer scripts for deployment and want to automate asset sync as part of composer install/update.
  • Look elsewhere if:

    • You’re using Laravel Mix/Vite/Webpack Encore for all assets (this package is Symfony-focused; Laravel may need a Laravel-specific solution like laravel-mix or vite).
    • Your assets require complex processing (e.g., minification, fingerprinting, or dynamic generation)—this package only copies files.
    • You need hot-reloading or asset compilation (this is a static copy tool, not a build system).
    • Your project is monolithic with no need for custom asset isolation (default Symfony/Laravel asset handling suffices).
    • You’re constrained by low maturity (0 stars, no active maintenance; evaluate risk tolerance).

How to Pitch It (Stakeholders)

For Executives:

"This package lets us automate and standardize the deployment of custom assets (e.g., vendor-specific scripts, legacy files) to our public/ directory—just like Symfony’s built-in assets:install command, but for non-standard files. Instead of manual file copies or fragile scripts, we’ll configure asset sources in YAML and sync them reliably during deployment. This reduces errors, speeds up onboarding, and ensures consistency across dev/staging/prod. The trade-off? Minimal maintenance overhead (MIT-licensed, lightweight), but we’d need to validate it fits our Laravel/Symfony stack."

For Engineering:

*"This is a drop-in solution for teams tired of manually copying custom assets to public/. Key benefits:

  • Config-driven: Define asset sources in YAML (e.g., custom_assets: [./vendor/legacy-scripts, ./node_modules/third-party]).
  • Composer-integrated: Run composer install to auto-sync assets to public/custom_assets/ (no more cp -r in deploy scripts).
  • Symfony-native: Works with AppKernel.php and leverages Symfony’s asset infrastructure. Downsides: No active maintenance (0 stars), and it’s not a build tool—just a file copier. If we need processing (e.g., hashing), we’d still need to layer that on top. Worth a POC if we’re stuck with manual asset management today."*
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.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware