Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
adding voyager to existing laravel application #2976
I have a Twilio based IVR (interactive voice response) system built using Laravel. I would like to keep all my existing code and add an admin dashboard to the system.
Can I just go to my existing laravel root directory and enter:
"composer require tcg/voyager"
and have it use my existing database?
is it really that easy?
I gave it a whirl... here's what I got:
composer require tcg/voyager
Using version ^1.0 for tcg/voyager
Installation failed, reverting ./composer.json to its original content.
I have php7 available on my hosting account... I set .htaccess in public/ to:
and phpInfo() shows php7.0 as the working version.
Any ideas how I fix this?
Voyager does not support laravel 5.1.* (which also isn't
In order to update to 5.5, you would have to install php 7.0 (per the Composer error message). I see you told apache to use php7 with the public/.htaccess file. Unfortunately, composer doesn't use that, so it won't make a difference. You'll have to research how to tell composer what version to use, but that's beyond the scope of this project.