n0nag0n
f4f3c7a342
Fixed multiple trailing slashes issues. Also fixed server test for 405 and 404
3 weeks ago
n0nag0n
882a956bd0
added some fixes to get this working in windows locally
1 month ago
n0nag0n
f8811e1d8b
allowed for middlewares to be created with container
9 months ago
n0nag0n
deb0d68875
added plain stream() method
10 months ago
fadrian06
62f15baf55
Merge branch 'master' into dispatcher-refactor
10 months ago
n0nag0n
6d41115e9a
initial commit for containerization
11 months ago
Daniel Schreiber
e6a29c7476
fix: handle encoded slashes for url parameters - fixes #552
11 months ago
n0nag0n
0622fd1c2b
fixed issues with @params_with_underscores and prepopulate getUrl() params.
11 months ago
fadrian06
2474371e35
Merge branch 'master' into dispatcher-refactor
12 months ago
fadrian06
c40b0b7759
Simplified docblocks
12 months ago
Austin Collier
788ddb6137
added streaming responses. Fixed JSONP.
12 months ago
fadrian06
253c86482e
Fixed yoda comparisons
12 months ago
Austin Collier
4c60454fa0
beautified
1 year ago
Austin Collier
aaf6a44a2c
fixed bug with root alias
1 year ago
n0nag0n
df90d69787
so many phpcs fixes. No more, no more!
1 year ago
fadrian06
7015e5d3ba
Moved copyright and license to a public place :D
1 year ago
fadrian06
44a056ca30
Fixed phpcs format problems in the rest of Flight modules
1 year ago
Austin Collier
cc4338a34b
added PSR12 coding style to files.
1 year ago
fadrian06
7dd251a3bd
Removed unused docblocks in Route::class
1 year ago
n0nag0n
1e4c07da52
correct unit test and removed final keywords
1 year ago
n0nag0n
593e1ee9bc
phpstan cleanup
1 year ago
Austin Collier
f543d74bfe
Middleware code
1 year ago
Austin Collier
c7a143db04
fixed issue with multiline possibilities in url query
1 year ago
Austin Collier
8bd7fd035b
fixed params with numbers
1 year ago
Austin Collier
387f15bd8b
fixed optional params with aliasing
1 year ago
n0nag0n
7991530761
Route alias and phpstan updates
1 year ago
fadrian06
fbcc9108c2
DocBlocks improved
1 year ago
Masroor Ehsan
d3feb77ce9
fixed parameter types
4 years ago
Masroor Ehsan
04e471bf46
PHP ^7.4|^8.0 compatibility
4 years ago
Mike Cao
c3c6f68909
Removed another case of $route passing. Updated tests.
8 years ago
Mike Cao
6aea7394c4
Remove $route from parameter list, only pass when dispatching callback.
8 years ago
Mike Cao
7fd3594ac7
Added ability to perform case sensitive matching of URLs.
9 years ago
Mike Cao
64d384ddff
Splat should consider trailing slash in URLs.
11 years ago
Mike Cao
88f4c1fb71
Fixed issue with splats when used with named parameters.
11 years ago
maks feltrin
229cbd24f5
replacing array_push with faster []
11 years ago
Mike Cao
d84e51ba47
Updated route object passing functionality.
...
Before the route object would automatically be passed to all callbacks. Now you need to explicitly
ask for it by passing in true as the third parameter in Flight::route().
11 years ago
Mike Cao
7817255a61
Added ability to get splat from URL pattern.
11 years ago
Mike Cao
84078158c3
Introduced new Engine class.
...
Core functionality has been moved to a namespaced Engine class. The
existing Flight class is now just a static pass-through to the Engine class.
Also fixed autoloading and initialization issues.
12 years ago
Mike Cao
a04020d50e
Fix line feeds.
12 years ago
Mike Cao
f64774881f
Fixed issue with url pattern matching.
12 years ago
Mike Cao
28ae5e0aec
Added route passing functionality.
12 years ago