Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chrishalbert/laravel-nomadic
A toolkit of enhancements to laravel's migrations.
https://github.com/chrishalbert/laravel-nomadic
Last synced: about 2 months 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-11T15:01:53.000Z (12 months ago)
- Last Synced: 2024-11-01T05:46:48.433Z (about 2 months ago)
- Language: PHP
- Homepage:
- Size: 979 KB
- Stars: 31
- Watchers: 1
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Laravel Nomadic Header](./docs/NomadLife.png)
# laravel-nomadic
[![Build Status](https://travis-ci.org/chrishalbert/laravel-nomadic.svg?branch=master)](https://travis-ci.org/chrishalbert/laravel-nomadic)
[![Coverage Status](https://coveralls.io/repos/github/chrishalbert/laravel-nomadic/badge.svg?branch=master)](https://coveralls.io/github/chrishalbert/laravel-nomadic?branch=master)
[![Latest Stable Version](https://poser.pugx.org/chrishalbert/laravel-nomadic/v/stable)](https://packagist.org/packages/chrishalbert/laravel-nomadic)
[![Total Downloads](https://poser.pugx.org/chrishalbert/laravel-nomadic/downloads)](https://packagist.org/packages/chrishalbert/laravel-nomadic)
[![License](https://poser.pugx.org/chrishalbert/laravel-nomadic/license)](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`
![Up Down Hook Ideas](./docs/LaravelNomadic-upDownHooks.png)
* **Stubs** - Add developer notes to the generated migration
![Stub Migrations](./docs/LaravelNomadic-Stub.PNG)
* [**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!
![Using Traits](./docs/LaravelNomadic-Trait.PNG)## 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.