composer require sammyjo20/lasso Support for PHP 8, 7.3+ and Laravel 6+
Cactus

Deploying Webpack assets in Laravel can be a nightmare.

Times Icon

Merge conflicts everywhere.

When you store your assets in Git, you will often have to pull, recompile, push for every change you do. That's time consuming.

Times Icon

It's annoying for your team.

When you store your assets in Git, and your team release a new version of your app - they will often have to deal with merge conflicts.

Times Icon

They slow down your servers.

If you compile your assets on the production server, that removes the merge conflict issue, but it takes up a lot of processing power and memory which should be given to your visitors.

Times Icon

It's difficult with large environments.

When you have multiple web servers all load-balanced, making sure the assets are updated across all is almost impossible without Git.

Introducing Lasso

The simple Laravel package designed to cause less headaches and make your deployments faster.

1. Lasso compiles your assets locally or within CI.

php artisan lasso:publish

2. The built files are then stored on one of your filesystems.

3. When a deployment is made, the assets are grabbed from the filesystem.

php artisan lasso:pull
Cactus
Cactus
Times Icon

Made with teams in mind. No more merge conflicts.

All of the Webpack assets are stored outside of Git, so the team won't have to keep recompiling, or re-committing assets.

Times Icon

Helps keep your servers snappy.

You can utilize the power of your local machine, or use CI like Github actions to do all the hardware-intensive compiling for you.

Times Icon

Works great with load-balanced environments.

Because there's only one source for the assets, you can pull from as many servers as you like.

Times Icon

Assets are integrity checked on every deployment.

When a deployment is made, Lasso will create a checksum of the artifact before it's uploaded. On each "fetch", the integrity of the artifact is checked before it even touches your public directory.

Times Icon

Supports multiple development environments.

Do you have a separate staging environment? Great. Lasso will store assets in that environment separately.

Times Icon

Versioning built right out the gate.

Lasso uses Git to store it's build information, so rolling back a commit is a breeze.

Times Icon

Works within Continuous Integration. Test, Lasso, Deploy.

Do you use continuous integration to compile your assets? You've already on the ball! Just run the Lasso build command, and you're set.

Get started

composer require sammyjo20/lasso Support for PHP 8, 7.3+ and Laravel 6+