Support the ongoing development of Laravel.io →
Configuration Requests
Last updated 3 months 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 3 months 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 3 months ago.
0

Sign in to participate in this thread!

LoadForge

Your banner here too?

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.