dyrynda / nomad
Laravel-style database migrations wherever they may roam
Installs: 1 042
Dependents: 1
Suggesters: 0
Security: 0
Stars: 56
Watchers: 5
Forks: 5
Open Issues: 0
Requires
- php: ^7.2.5
- illuminate/cache: ^7.0
- illuminate/config: ^7.0
- illuminate/console: ^7.0
- illuminate/container: ^7.0
- illuminate/database: ^7.0
- illuminate/events: ^7.0
- illuminate/filesystem: ^7.0
- laravel-zero/foundation: ^7.0
- symfony/process: ^5.0
- vlucas/phpdotenv: ^4.0
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!