Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aarondfrancis/airdrop
A Laravel package to speed up deployment by skipping asset compilation whenever possible.
https://github.com/aarondfrancis/airdrop
assets laravel
Last synced: 2 months ago
JSON representation
A Laravel package to speed up deployment by skipping asset compilation whenever possible.
- Host: GitHub
- URL: https://github.com/aarondfrancis/airdrop
- Owner: aarondfrancis
- License: mit
- Created: 2021-01-22T00:12:28.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T22:17:24.000Z (8 months ago)
- Last Synced: 2024-08-24T11:52:20.095Z (2 months ago)
- Topics: assets, laravel
- Language: PHP
- Homepage: https://hammerstone.dev/airdrop/docs/main
- Size: 253 KB
- Stars: 182
- Watchers: 3
- Forks: 14
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Airdrop for Laravel
[![Tests](https://github.com/hammerstonehq/airdrop/actions/workflows/tests.yml/badge.svg)](https://github.com/hammerstonehq/airdrop/actions/workflows/tests.yml) [![Latest Stable Version](https://poser.pugx.org/hammerstone/airdrop/v)](//packagist.org/packages/hammerstone/airdrop) [![Total Downloads](https://poser.pugx.org/hammerstone/airdrop/downloads)](//packagist.org/packages/hammerstone/airdrop) [![License](https://poser.pugx.org/hammerstone/airdrop/license)](//packagist.org/packages/hammerstone/airdrop)
> Read the full docs at [hammerstone.dev/airdrop/docs](https://hammerstone.dev/airdrop/docs/main/overview).
Hammerstone Airdrop for Laravel is a package that speeds up your deploys by skipping your asset build step whenever possible.
When you're deploying your code, Airdrop will calculate a hash of everything needed to build your assets: installed packages, JS/CSS files, ENV vars, etc.
After Airdrop has calculated a hash for these inputs, it will check to see if it has ever built this exact configuration before. If it has, it will pull down the built assets and put them in place, letting you skip the expensive build step.
# Installation
You can install the package via Composer
```console
composer require hammerstone/airdrop
```Once the package is installed, you may optionally publish the config file by running
```console
php artisan airdrop:install
```You'll likely want to publish the config file so that you can set up your triggers and outputs.
Read the full docs at [hammerstone.dev/airdrop/docs](https://hammerstone.dev/airdrop/docs/main/overview).