awssat / laravel-sync-migration by if4lcon

Developer tool helps to sync migrations without refreshing the database
20,459
106
4
Package Data
Maintainer Username: if4lcon
Maintainer Contact: bderemail@gmail.com (Bader Almutairi)
Package Create Date: 2018-10-19
Package Last Update: 2022-08-13
Language: PHP
License: MIT
Last Refreshed: 2024-04-23 03:10:44
Package Statistics
Total Downloads: 20,459
Monthly Downloads: 96
Daily Downloads: 23
Total Stars: 106
Total Watchers: 4
Total Forks: 11
Total Open Issues: 5

Laravel Sync Migration

Latest Version on Packagist Software License Build Status Quality Score Total Downloads

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.

Table of Contents

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.

Install

Via Composer

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.

Usage

It's simple. Anytime you want sync schema files to database run this command:

php artisan migrate:sync

Contributing

You are very welcome to contribute and improve this package.

Credits

License

The MIT License (MIT). Please see License File for more information.