Skip to content

chrishalbert/laravel-nomadic

Repository files navigation

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.

About

A toolkit of enhancements to laravel's migrations.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages