Package Data | |
---|---|
Maintainer Username: | Netcreaties |
Maintainer Contact: | info@royfreij.nl (Roy Freij) |
Package Create Date: | 2019-02-09 |
Package Last Update: | 2020-12-18 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-23 03:10:11 |
Package Statistics | |
---|---|
Total Downloads: | 10,020 |
Monthly Downloads: | 15 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 3 |
Total Forks: | 1 |
Total Open Issues: | 0 |
This package gives you the ability to create synchronization files and prevent you from having to write one time use commands when you've got for example: A database structure change that will require you to synchronize the old structure data with the new structure.
The best way to install this package is through your terminal via Composer.
Run the following command from your projects root
composer require netcreaties/laravel-synchronize
This package supports package discovery.
Publishing the config will enable you to overwrite some of the settings this package uses. For example you can define where synchronization files should be stored.
php artisan vendor:publish --provider="LaravelSynchronize\Providers\ServiceProvider" --tag="config"
php artisan vendor:publish --provider="LaravelSynchronize\Providers\ServiceProvider" --tag="migrations"
php artisan migrate
php artisan make:synchronization {name}
Creates the synchronization file at database/synchronizations
php artisan laravel-sync:synchronize