bramus / bramus/router

How to do the following

Open
#214 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
1.1k
Forks
236
PR merge metrics
No merged PRs in 30d

Description

```php
$router->get('/', 'index.php');
$router->get('/about', 'about.php');
$router->get('/contact', 'contact.php');

$router->get('/notes', 'notes/index.php')->only('auth');
$router->get('/note', 'notes/show.php');
$router->delete('/note', 'notes/destroy.php');

```

![CleanShot 2023-10-05 at 11  54 03](https://github.com/bramus/router/assets/9626641/12cbcc27-60cd-4c1d-9f0d-4986d9bc29ed)

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue shows PHP route definitions and a screenshot but does not name a file, test, or specific behavior to change. Clarify the intended routing outcome and identify the relevant entry point before deciding what implementation and verification would constitute done.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.