Download the PHP package digifactory/laravel-pull-production-data without Composer
On this page you can find all versions of the php package digifactory/laravel-pull-production-data. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download digifactory/laravel-pull-production-data
More information about digifactory/laravel-pull-production-data
Files in digifactory/laravel-pull-production-data
Package laravel-pull-production-data
Short Description Pull your production storage folder and database to your local environment
License MIT
Homepage https://github.com/digifactory/laravel-pull-production-data
Informations about the package laravel-pull-production-data
Laravel Pull Production Data
This package provides a command to download your production database and storage/app
folder to your local environment.
In the current state this package mainly scratches our own itch. Nonetheless this package can be used in nearly every Laravel environment.
The package assumes you have:
- Environment variables
DEPLOY_SERVER
andDEPLOY_PATH
(customisable in the config) - Setup SSH keys between your machine and the production machine
mysql
binary available on your local machinemysqldump
binary available on your production machine
Installation
You can install the package via composer:
You can publish the config file:
Usage
By default both the database and the storage folder will be synced.
The following flags are available:
Flag | Description |
---|---|
-D, --no-database | Whether the database should not be synced |
-S, --no-storage-folder | Whether the storage folder should not be synced |
Preview
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-pull-production-data with dependencies
illuminate/database Version ^11.0
illuminate/filesystem Version ^11.0
illuminate/support Version ^11.0
symfony/process Version ^7.0