chrishalbert/laravel-nomadic

A suite of tools to enhance robustness of laravel's migrations.
27,971 31
Install
composer require chrishalbert/laravel-nomadic
Latest Version:v2.0.2
PHP:>=7.3
Laravel:5 – 10
License:MIT
Last Updated:Jan 8, 2025
Links: GitHub  ·  Packagist
Maintainer: chrishalbert

Laravel Nomadic Header

laravel-nomadic

Build Status Coverage Status Latest Stable Version Total Downloads License

A powerful configuration based toolkit of enhancements to Laravel's migrations. This exposes an event driven design so that developers can create reusable functionality that executes automatically using the same developer workflow.

Features

  • Hooks - Use pre/post hooks for migration commands: make:migration, migrate, and migrate:rollback Up Down Hook Ideas
  • Stubs - Add developer notes to the generated migration Stub Migrations
  • Schema - Associate extra data within your migrations table
id migration batch author comments rollback
1 20200811_CreateTable 1 John Stores data for product x NULL
2 20200812_AddData 1 Jack Populate product x features NULL
3 20200812_UpdateData 2 Jane Fix description typo {desc: "Grate product."}
  • Traits - Add reusable functionality to every migration, via traits. Bonus: You can use hooks here too! Using Traits

Installation

  1. composer require chrishalbert/laravel-nomadic
  2. Add the Service Provider to the config/app.php:
    'providers' => [
        /**
         * Custom Providers...
         */
        ChrisHalbert\LaravelNomadic\NomadicServiceProvider::class,        
    ]

3, Publish default configs/nomadic.php: php artisan vendor:publish

Feature Requests/Bugs

Submit feature requests or bugs to laravel-nomadic issues.

Services

Do you have an internal need or enhancement you care not to share with the world?

I can help!

Reach out to me directly for rates, scope and your business needs. I can furnish an NDA as needed.

Related Packages

awssat/laravel-sync-migration

Developer tool helps to sync migrations without refreshing the database

23,783 108
ed-fruty/laravel4-namespace-migrator

Package for Laravel 4, supporting using namespaces in migration classes

26 2
simlux/laravel-migration-helper

Helper functions for laravel migrations.

140 0
artdarek/oauth-4-laravel

OAuth Service Provider for Laravel 4

526,422 677

Version History

Version Released PHP Laravel License
v2.0.2 >=7.3 >=5.8 MIT
v2.0.1 >=7.3 >=5.8 MIT
v2.0.0 >=7.3 >=5.8 MIT
v1.4.5 5.* || 7.* 5.* MIT
v1.4.4 5.* || 7.* 5.* MIT
Pre-releases (1)
Version Released PHP Laravel License
v0.1-alpha 5.* || 7.* 5.4.* MIT