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.
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.
For information on the available commands and their functions, be sure to check out Laravel's migration documentation.
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!