15 Commits

Author SHA1 Message Date
Jamie Barton
dfccd34c54 refactor Cookie method names 2024-10-19 11:13:36 +01:00
Jamie Barton
425a61ed43 feat(Helpers): DateHelper 2024-10-19 10:58:30 +01:00
Jamie Barton
11cdba6253 feat(CookieHelper): add get and clear all methods 2024-10-19 10:51:24 +01:00
Jamie Barton
dd4b9153f6 add tests for getEnvironment 2024-10-18 17:56:02 +01:00
Amano
531aba3a21
CSRF Protection middleware (#56) 2024-09-24 04:15:21 -07:00
Jamie Barton
ae70f8e930 add test for jwt helper 2024-09-14 15:50:36 +01:00
Amano
aa6ab9934e
Add Cache API helper (#36)
* Add new CacheMiddleware cache helper + add getUri method

* Example of cache http middleware added

* remove getUri method from RequestWrapper + add generateEtag method to CacheMiddleware

* fix etag

* Standardising the http cache example

* Add better exemple for http cache

* Implement CacheMiddleware tests and refactoring

* rename example

---------

Co-authored-by: Aymane <aymane@cashflowpositifi.fr>
Co-authored-by: Jamie Barton <jamie@notrab.dev>
2024-09-08 09:23:35 +01:00
Jamie Barton
2d77a5ee10 tidy up and examples 2024-09-05 10:04:59 +01:00
Lucas Coutinho
643aa4f90d
feat: add logger helper (#32)
refact: remove monolog/monolog and use psr/log
2024-09-02 11:29:17 +01:00
Jamie Barton
a24f90eabb
fast route (#27)
* test fast route

* fix trailing slash urls

* fix request wrapper parse body

* update readme
2024-08-30 10:25:52 +01:00
Jamie Barton
5b331e42f5 add request-id helper 2024-08-29 13:06:57 +01:00
Jamie Barton
4cb83c8419 Add missing BearerAuthTests 2024-08-28 15:03:47 +01:00
Jamie Barton
9a5361b297 Add missing BasicAuthTests 2024-08-28 14:38:57 +01:00
Jamie Barton
fb57da465e update router test 2024-07-17 13:50:06 +01:00
Jamie Barton
f9637d7e9f initial commit 2024-07-15 14:27:57 +01:00