Skip to content

Commit eab6ae8

Browse files
committed
Merge branch 'develop'
2 parents 4820773 + b1197f8 commit eab6ae8

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ MaplePHP is a high-performance PHP 8.2+ framework built on PSR standards and mod
44

55
The goal is not to lock you into a fixed ecosystem. Each `maplephp/*` library is independently installable and PSR-compliant. You shape the framework around your own stack and workflow, while still benefiting from updates to the core.
66

7-
**Requires PHP 8.2+** | PSR-3, PSR-7, PSR-11, PSR-15 | Apache-2.0
7+
**Requires PHP 8.2+**
88

99
> This framework is currently in beta. Use `--stability=beta` when installing.
1010
@@ -124,7 +124,6 @@ $app->dir()->configs(); // /path/to/my-app/configs
124124
$app->dir()->app(); // /path/to/my-app/app
125125
$app->dir()->logs(); // /path/to/my-app/logs
126126
$app->dir()->cache(); // /path/to/my-app/storage/cache
127-
$app->dir()->cacheFramework(); // /path/to/my-app/storage/cache/framework
128127
$app->dir()->migrations(); // /path/to/my-app/database/migrations
129128
```
130129

routers/web.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
*
77
* FastRoute parameter patterns:
88
*
9+
* your-slug Add slug as string "/". (Example: /your-slug)
10+
*
11+
* {name:your_slug} Bind your slug to router "/". (Example: /{name:your-slug})
12+
*
913
* {name} Matches any segment except "/". (Example: /user/{name})
1014
*
1115
* {id:\d+} Matches numeric values only. (Example: /post/{id})
@@ -21,4 +25,4 @@
2125
use MaplePHP\Core\Router\RouterDispatcher;
2226

2327
$router->get("/", [HelloWorldController::class, "index"]);
24-
$router->get("/{page}", [HelloWorldController::class, "show"]);
28+
$router->get("/show", [HelloWorldController::class, "show"]);

0 commit comments

Comments
 (0)