That migrations generator worked great for me in L5. It ran migrations on 60+ tables without a hitch. In case you have something different, this is what I have in composer.json under "require-dev" (both of these are needed):
"xethron/migrations-generator": "dev-l5",
"way/generators": "dev-feature/laravel-five-stable"
Hi, I am using Laravel 5. But this is not working for me. I am getting following error.
[RuntimeException] Failed to clone https://230f1de20f16d31398bbbf36155c6e0be57ecf65:***@github .com/jamisonvalenta/Laravel-4-Generators.git, git was not found, check that it is installed and in your PATH env. 'git' is not recognized as an internal or external command, operable program or batch file.
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no- progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [packages1] ... [p ackagesN]
You need to set git in environment variables (I am assuming you are on windows). The easiest way is to reinstall git from https://git-scm.com, and making sure path variables set through the installation process.
Error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package way/generators could not be found in any version, there may be a typo in the package name.
Problem 2
- Installation request for xethron/migrations-generator dev-l5 -> satisfiable by xethron/migrations-generator[dev-l5].
- xethron/migrations-generator dev-l5 requires way/generators dev-feature/laravel-five-stable -> no matching package found.
Please help
FIXED:
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community