Support the ongoing development of Laravel.io →
posted 9 years ago
Views
Last updated 1 year ago.
0

Hi there! How did you set up your application environments under bootstrap/start.php ?

If your running on local environment you might have to create a seperate config file under app/config/local/app.php and set the Application URL for artisan right there.

I think you can even specifiy the env when running your artisan command like this

# php artisan some:task --env=local

hope that helps.

Last updated 1 year ago.
0

Hi all!

I'm having the same issue. Does somebody have a workaround?

Last updated 1 year ago.
0

Hi,

Encountered same issue. Also posted question here: http://stackoverflow.com/questions/25750604/laravel-artisan-gi...

Moved past this using Config::get('app.url') instead.

Hope this helps!

Last updated 1 year ago.
0

Hi medowlock,

Thanks, I did the same workaround as you suggested, but would be good to have this corrected in future laravel versions.

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

nixis nixis Joined 21 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.