Support the ongoing development of Laravel.io →
posted 9 years ago
Requests

Hello Laravel'ers,

I'm adding Laravel router support into PPI framework.

I have made the following progress with implementing the generate() and match() methods of PPI's LaravelRouterWrapper.

https://github.com/ppi/framework/blob/0b398b906c11f27f662e32f15672285f703b1fba/src/Router/Wrapper/LaravelRouterWrapper.php#L116

If you look at the match() method, I don't know what $action is supposed to look like as I see a lot of dynamic input to a router definition, such as: callback, Controller@action string, arrays containing things like 'as' and 'uses' keywords.

Can someone advise?

Many thanks, PAul

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

dragoonis dragoonis Joined 16 Aug 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.

© 2025 Laravel.io - All rights reserved.