curiousminds / lightning-deploy
Lightning deploy methodology for Laravel
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/curiousminds/lightning-deploy
Requires
- php: ^7.1.3
- illuminate/http: ^5.1
- illuminate/support: ^5.1
- predis/predis: ^1.0.0
This package is auto-updated.
Last update: 2025-10-12 11:20:39 UTC
README
Laravel Lightning Deploy
A simple methodology to deploy single page apps in Laravel using the lightning deploy strategy.
Installation
Installation is pretty simple. Just run the following command:
composer require curiousminds/lightning-deploy
php artisan vendor:publish --provider=curiousminds/lightning-deploy
After that, simply add your configuration, and you are all set.
What does it do?
This package provides a configurable route that will pull statically generated page content from your Redis store. It will add the appropriate headers so that client-side content is not cached. (This will be configurable in future versions of the package).
Configuration
There are two options which may be set: lightning_deploy_key, and the lightning_deploy_url.
-
lightning_deploy_keyis the Redis key which contains the desired version of the app. This is typically set when you build your single page application. -
The
lightning_deploy_urloption tells the laravel app what path you would like the single page app to appear on./is set by default. (placing the application on the root url.)