Commit Graph

8 Commits

Author SHA1 Message Date
SteamPixel
7ff0f40ec1 Added method and examples for known routes 2021-02-08 11:14:14 +01:00
SteamPixel
02d75226dc Merge branch 'master' of github.com:steampixel/simplePHPRouter 2021-01-14 20:46:14 +01:00
mrjk990
6a7ce39e72
Update Route.php
set flag 'u' out of $case_maters to avoid any problem when $case_maters set true
2021-01-14 19:55:48 +02:00
SteamPixel
dbb63d3043 Added return feature and arrow function example 2021-01-14 15:52:23 +01:00
mrjk990
c2cd96ab90
fix regex to support for non english letters
fix regex  to support for non english letters
like arabic
example:
// http://domain.com/dance/الرقص-العربي

Route::add( '/([\d\w\._]+)/([\p{L}\d\-]+)', function($cat, $slug) {
	// do something
});
2021-01-09 23:20:29 +02:00
SteamPixel
26e048cc88 Bugfix: Setup with subfolder works fine but doesn't match base path #23 2020-05-15 11:38:43 +02:00
SteamPixel
c871154b36 Corrected namespace 2020-01-14 12:55:52 +01:00
SteamPixel
7a3d28bacc Corrected namespace in folder structure 2020-01-14 12:03:03 +01:00