Support the ongoing development of Laravel.io →
Configuration Requests
Last updated 1 year ago.
0

It's used for artisan server commands. If you need to recognize it I suggest an extension of the urlgenerator helper class.

Last updated 1 year ago.
0

I'm using it for sub domains

Route::group(array('domain' => 'dev.' . Config::get('app.url')), function() {
	Route::get('/', function() {
		//
	});
});

Route::group(array('domain' => 'support.' . Config::get('app.url')), function() {
	Route::get('/', function() {
		//
	});
});
Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.