https://github.com/chrishalbert/laravel-nomadic
A toolkit of enhancements to laravel's migrations.
https://github.com/chrishalbert/laravel-nomadic
Last synced: about 1 year ago
JSON representation
A toolkit of enhancements to laravel's migrations.
- Host: GitHub
- URL: https://github.com/chrishalbert/laravel-nomadic
- Owner: chrishalbert
- License: mit
- Created: 2018-04-15T14:59:52.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-01-08T22:17:23.000Z (over 1 year ago)
- Last Synced: 2025-03-30T18:08:18.101Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 1000 KB
- Stars: 31
- Watchers: 1
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# laravel-nomadic
[](https://travis-ci.org/chrishalbert/laravel-nomadic)
[](https://coveralls.io/github/chrishalbert/laravel-nomadic?branch=master)
[](https://packagist.org/packages/chrishalbert/laravel-nomadic)
[](https://packagist.org/packages/chrishalbert/laravel-nomadic)
[](https://packagist.org/packages/chrishalbert/laravel-nomadic)
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**](docs/NomadicHooks.md) - Use pre/post hooks for migration commands: `make:migration`, `migrate`, and `migrate:rollback`

* **Stubs** - Add developer notes to the generated migration

* [**Schema**](docs/NomadicSchema.md) - 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**](docs/NomadicTraits.md) - Add reusable functionality to every migration, via traits. Bonus: You can use hooks here too!

## Installation
1. ```composer require chrishalbert/laravel-nomadic```
2. Add the Service Provider to the config/app.php:
```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](https://github.com/chrishalbert/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.