dyrynda/nomad

Laravel-style database migrations wherever they may roam

4.0.0 2020-07-05 07:52 UTC

This package is auto-updated.

Last update: 2024-11-05 16:59:37 UTC


README

About Nomad

Nomad gives you the power of Laravel's database migrations without the need for a full Laravel installation.

This is particularly useful where you have multiple applications accessing a single database, but you aren't sure which should be responsible for managing the database schema. By extracting your migrations to a separate repository, you can maintain full version control over your database schema, without worrying about different applications trying to run the migrations on the same database.

Installation

Nomad is built as a utility to support another repository. Learn more about this here.

Should you choose to use the Nomad library directly, first install it using Composer.

composer require dyrynda/nomad

A sample configuration file is provided in config/database.php, which you can change as needed for your database environment.

You may then run the nomad application and access the available commands.

Usage

For information on the available commands and their functions, be sure to check out Laravel's migration documentation.

Credits

Special thanks to Nuno Maduro for the work he has done with Laravel Zero, which helped pave the way for me to finally bring this project to life.

Support

If you are having general issues with this repository, feel free to contact me on Twitter.

If you believe you have found an issue, please report it using the GitHub issue tracker, or better yet, fork the repository and submit a pull request.

If you're using this repository, I'd love to hear your thoughts. Thanks!