Support the ongoing development of →
Requests IOC Packages
Last updated 2 years ago.

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.

Thanks for sharing!


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


Sign in to participate in this thread!


Your banner here too?

kroneii kroneii Joined 28 Oct 2015


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.

© 2024 - All rights reserved.