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

In case anyone stumbled into this issue, this is the solution i found

public function boot()
{
	# initiate package
	$this->package('biztory/node', 'biztory-node');
	# load the routes when the app is booted (core routes.php is booted)
	$this->app->booted(function () {
		# include routing
		include __DIR__.'/../../routes.php';
	});
}
Last updated 8 years ago.
0

Thanks for sharing!

0

how do you do it in laravel 5.4? because in 5.4 you have separate api.routes and web.routes?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

kroneii kroneii Joined 28 Oct 2015

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.