-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from abdumu/master
add docs
- Loading branch information
Showing
4 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
prev: ./ | ||
next: 2_installation | ||
--- | ||
|
||
# Introduction | ||
It's a tool to help ease the repetitive migration process during developing a Laravel project without migrate:fresh your database every time you change you schemas. | ||
|
||
|
||
## Features | ||
- Easy to install, no need to add or change your schemas or project files. | ||
- Sync schema changes to database instantly. No need to repeat fresh or seed commands everytime. | ||
- Interactive. It will give you choices to not force unwanted changes to your database. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
prev: 1_introduction | ||
next: 2_quick-start | ||
--- | ||
|
||
# Installation | ||
|
||
To get started, use Composer to add the package to your project's dependencies: | ||
```bash | ||
composer require awssat/laravel-sync-migration | ||
``` | ||
|
||
#### Before Laravel 5.5 | ||
In Laravel 5.4. you'll manually need to register the `Awssat\SyncMigration\SyncMigrationServiceProvider::class` service provider in `config/app.php`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
prev: 2_installation | ||
next: false | ||
--- | ||
|
||
|
||
# Quick Start | ||
|
||
## Start using it | ||
It's simple. Anytime you want sync schema files to database run this command: | ||
```sh | ||
php artisan migrate:sync | ||
``` | ||
|
||
## how to use (gif image) | ||
<p align="center"> | ||
<img src="https://thumbs.gfycat.com/SplendidFlatAustrianpinscher-size_restricted.gif" alt="Laravel Sync Migration"> | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
prev: false | ||
next: 1_introduction | ||
--- | ||
|
||
# Laravel Sync Migration | ||
|
||
<p align="center"> | ||
<img src="https://i.imgur.com/OP83jHA.jpg" alt="Laravel Sync Migration" style="width:400px"> | ||
</p> | ||
|
||
|
||
### Contributing | ||
|
||
Please see [the package github repo](https://github.com/awssat/laravel-sync-migration) for details. | ||
|
||
### License | ||
|
||
The MIT License (MIT). |