awssat / laravel-sync-migration by if4lcon

Developer tool helps to sync migrations without refreshing the database
21,504
108
4
Package Data
Maintainer Username: if4lcon
Maintainer Contact: bderemail@gmail.com (Bader Almutairi)
Package Create Date: 2018-10-19
Package Last Update: 2024-11-02
Language: PHP
License: MIT
Last Refreshed: 2024-11-11 15:19:53
Package Statistics
Total Downloads: 21,504
Monthly Downloads: 151
Daily Downloads: 2
Total Stars: 108
Total Watchers: 4
Total Forks: 13
Total Open Issues: 1

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.