105 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
Jamie Barton
b950572124
feat(Dumbo): error handler (#64)
* feat(Dumbo): error handler

* add example for dev mode
2024-10-18 17:47:51 +01:00
Jamie Barton
be08adb353 docs(examples/turso-vector): update readme 2024-10-18 09:28:05 +01:00
Jamie Barton
c9fba6adf2 docs(examples): turso-vector 2024-10-18 09:25:54 +01:00
renovate[bot]
da94e9c58a
chore(deps): update dependency phpunit/phpunit to v11.4.1 (#63)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-12 07:50:43 +01:00
Jamie Barton
6d93a415e7 examples(turso): use new Database constructor 2024-10-10 09:17:43 +01:00
Jamie Barton
f4e9a42eb9 examples(htmx-blade): use new Database constructor 2024-10-10 09:17:07 +01:00
Ray Blair
23da60956e
feat: Modified dockerfiles for frankenphp and nginx to work with fly.io (#62) 2024-10-02 07:29:25 +01:00
Amano
531aba3a21
CSRF Protection middleware (#56) 2024-09-24 04:15:21 -07:00
renovate[bot]
78895c36d6
chore(deps): update dependency phpunit/phpunit to v11.3.6 (#61)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 22:16:46 +01:00
Jamie Barton
92610a2235 txt files lol 2024-09-22 11:00:47 -07:00
Jamie Barton
37798edc38
update readme 2024-09-15 10:00:44 +01:00
Jamie Barton
1427f386fb examples(benchmarks): update readme 2024-09-15 09:44:50 +01:00
Jamie Barton
0139f94e8c example benchmark 2024-09-15 09:44:19 +01:00
Jamie Barton
1a26d9656e update readme 2024-09-15 08:51:25 +01:00
Jamie Barton
cd9aaed770 add htmx blade example 2024-09-15 08:48:42 +01:00
Jamie Barton
ae70f8e930 add test for jwt helper 2024-09-14 15:50:36 +01:00
yoh
99c0702f14
Perf. improvement on Router.php (#60)
Co-authored-by: yoh <j.gaulupeau@thais-soft.com>
2024-09-14 15:47:54 +01:00
Jamie Barton
6687353c15
feat: static files (#58)
* feat(dumbo): add static files

* always serve index.html

* update readme

* simplify
2024-09-13 13:15:56 +01:00
Jamie Barton
ffa86b21f0 feat(helpers): JWT 2024-09-13 11:46:27 +01:00
renovate[bot]
15a665ad90
chore(deps): update dependency phpunit/phpunit to v11.3.5 (#57)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 10:47:33 +01:00
Jamie Barton
55abb81e45 update discord url 2024-09-12 18:24:31 +01:00
renovate[bot]
2f396fd95d
fix(deps): update dependency psr/log to v3.0.2 (#55)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 08:31:34 +01:00
Levy A.
85236f7efc
use new libsql php sdk (#54)
* refactor: use new libsql php sdk

* rename example

---------

Co-authored-by: Jamie Barton <jamie@notrab.dev>
2024-09-12 08:31:24 +01:00
renovate[bot]
d735d79f2a
chore(deps): update dependency phpunit/phpunit to v11.3.4 (#52)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 08:37:00 +01:00
Jamie Barton
6d39995257 feat(examples): add cookie-jwt-auth 2024-09-09 10:10:44 +01:00
Jamie Barton
50e23ce53f add all route handler 2024-09-08 13:48:52 +01:00
Ray Blair
7a83a58e91
feat: Render View (#48) 2024-09-08 13:44:12 +01:00
Jamie Barton
056c8b8dd7 update cache example autoload 2024-09-08 09:24:38 +01:00
Ray Blair
099da3be09
chore: use __DIR__ (#46) 2024-09-08 09:24:05 +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
bdfc84289d add active sessions to cookie-auth example 2024-09-07 12:21:04 +01:00
Jamie Barton
420e4f1f91 feat(examples): cookie auth 2024-09-07 10:43:21 +01:00
Jamie Barton
3c866245d7 docs(examples/cookie-latte): update readme 2024-09-06 18:22:05 +01:00
Jamie Barton
541588688a docs(examples/cookie-latte): update readme 2024-09-06 17:41:30 +01:00
Jamie Barton
f259282a34 docs(examples/cookie-latte): update readme 2024-09-06 17:41:14 +01:00
Jamie Barton
3f411ae287 feat(examples): cookie auth latte 2024-09-06 17:39:46 +01:00
Jamie Barton
a9cd9881cf
feat(helpers): cookie (#45) 2024-09-06 17:16:13 +01:00
Khairul Hidayat
3dd75fce79
Add cors middleware helper and all route handler (#13)
* feat: add cors middleware helper, add `all` route handler

* revert changes

* update cors helper

---------

Co-authored-by: Jamie Barton <jamie@notrab.dev>
2024-09-06 17:16:02 +01:00
Ray Blair
0dd4c01e96
feat: Templating examples for Latte and Laravel Blade (#44) 2024-09-05 21:10:42 +01:00
Jamie Barton
f1d733c37d add setup php step 2024-09-05 11:01:59 +01:00
Jamie Barton
0a3275127e simpler phpunit tests 2024-09-05 10:58:32 +01:00
Jamie Barton
cd5eedaf59 setup php 2024-09-05 10:55:34 +01:00
Jamie Barton
3980050489
Create tests.yml 2024-09-05 10:53:44 +01:00
Jamie Barton
75a437c1fc readme: quickstart json change 2024-09-05 10:50:29 +01:00
renovate[bot]
606dd20681
chore(deps): update dependency phpunit/phpunit to v11.3.3 (#35)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 10:48:20 +01:00
Jamie Barton
2d77a5ee10 tidy up and examples 2024-09-05 10:04:59 +01:00