Allow extending DefaultRouter rather than BaseRouter
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start by locating DefaultRouter, BaseRouter, and the WebEngine PSR-4 autoload configuration. Verify that an application can extend DefaultRouter and add one routing rule without redefining the existing routes; confirm the result with the relevant router or application checks.
Written by the indexing model from the issue text.
Description
When the application has its own router, it's useful to just add a single routing rule rather than define the whole router again.
Due to WebEngine's default router not being within a PSR-4 autoloading path, it's impossible to extend the DefaultRouter, and applications always have to extend the BaseRouter and define all routes again themselves.
- Dominant language
- PHP
- Stars
- 26
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from phpgt/WebEngine
-
Difficulty 4/5 3-5 days Newbie friendliness 50/100
-
Docs: missing pieces Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
question
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
hector-jewell/food-delivery-system-for-restaurant-using-php#1311 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Sylius/SyliusGridBundle#501 ·