New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

dyrynda/nomad

Laravel-style database migrations wherever they may roam
1,279 57
Install
composer require dyrynda/nomad
Latest Version:4.0.0
PHP:^7.2.5
Laravel:7
Older releases:5 · 6
License:MIT
Last Updated:Jul 5, 2020
Links: GitHub  ·  Packagist
Maintainer: michaeldyrynda

Nomad

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!

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

429,221,767 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

403,217,078 4,664

Version History

Version Released PHP Laravel License
4.0.0 ^7.2.5 ^7.0 MIT
3.0.1 ^7.2 ^6.0 MIT
3.0.0 ^7.2 ^6.0 MIT
2.0.0 ^7.1.3 5.8.* MIT
1.2.1 ^7.1.3 5.5.* || 5.6.* MIT