97 Commits

Author SHA1 Message Date
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
Abdullah Al Noman Prince
3f7bf80329
Doc Improvement: Rename variable c/ctx with context (#26) 2024-08-29 17:22:08 +01:00
Jamie Barton
9389fdd0ab docs: rename context variable 2024-08-29 16:09:38 +01:00
Jamie Barton
d5184f6642 docs(readme): use context intead of c/ctx 2024-08-29 13:08:21 +01:00
Jamie Barton
5b331e42f5 add request-id helper 2024-08-29 13:06:57 +01:00
Jamie Barton
339c9a8a16 add turso http example 2024-08-29 12:18:03 +01:00
Joseph Ajibodu
94edb1a5b9
reorganize the examples folder to support multiple examples (#21)
Updated the examples directory structure to accommodate additional examples.
Moved the existing example into a `simple` subdirectory under `examples/`
2024-08-29 12:12:50 +01:00
Jamie Barton
9983278ba7 add discord link 2024-08-29 09:51:28 +01:00
Abdullah Al Noman Prince
811e8be124
Fixed: index.php inside the examples folder throwing error while accessing '/error' route. (#25) 2024-08-29 09:23:51 +01:00
Abdullah Al Noman Prince
1c2ead3c3d
Improvement & Update: Added Basic Auth Multiple Users example and updated the dumbo main README.md (#23) 2024-08-29 06:00:25 +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
Abdullah Al Noman Prince
9d6a680c13
Feature: basicAuth Helper is added (#17)
* Feature: basicAuth Helper is added

* refactor BasicAuth + examples

* update readme

* add custom basic auth example

---------

Co-authored-by: Jamie Barton <jamie@notrab.dev>
2024-08-28 14:29:13 +01:00
Joseph Ajibodu
8b2413b84b
Update .gitattributes and .gitignore for improved package and repo management (#18)
* exclude non-essential files and directories from package distribution

- Added entries to .gitattributes to exclude:
  - /examples: Example files
  - /tests: Test files
  - .gitattributes: Git-specific configuration
  - .github: GitHub-related files
  - .gitignore: Git ignore rules
  - CHANGELOG-*: Changelog files
  - CODE_OF_CONDUCT.md: Code of conduct document
  - CONTRIBUTING.md: Contribution guidelines
  - UPGRADING.md: Upgrade instructions
  - RELEASE.md: Release notes

* update .gitignore to include additional files and directories

- Added .idea/ and .idea: Exclude JetBrains IDE configuration directories
- Added composer.lock: Exclude Composer lock file (if needed)
- Added .fleet: Exclude Fleet IDE configuration (if applicable)
- Added .vscode: Exclude Visual Studio Code configuration directory

---------

Co-authored-by: Jamie Barton <jamie@notrab.dev>
2024-08-28 14:17:06 +01:00
Jamie Barton
0d4de65db0 fix nested middleware 2024-08-28 13:47:59 +01:00
Jamie Barton
f6f3a5401f root bearer-auth example 2024-08-28 13:33:52 +01:00
Jamie Barton
4395365106 update bearerauth 2024-08-28 10:24:23 +01:00
Jamie Barton
2bcb9eb490
feat: exception handler (#16) 2024-08-28 10:08:30 +01:00
Abdullah Al Noman Prince
a26b00d644
Feature: Allow custom message for bearer token helper (#12)
* Feature: Allow custom message for bearer token helper

* Feature: Allow custom message for bearer token helper Doc added.
2024-08-27 07:02:24 +01:00
renovate[bot]
0254606f30
chore(deps): update dependency phpunit/phpunit to v11.3.1 (#7)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 20:39:49 +01:00
Jamie Barton
61892adc06 fix nested route middleware 2024-08-26 20:11:20 +01:00
Jamie Barton
c2d6c9e83a add bearer auth 2024-08-26 19:54:49 +01:00
Jamie Barton
1d2edfc449 add cover img 2024-08-14 20:37:48 +01:00
renovate[bot]
cc947813d5
chore(deps): update dependency phpunit/phpunit to v11.2.8 (#6)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-23 14:27:53 +01:00
renovate[bot]
1ecc635e10
fix(deps): update dependency guzzlehttp/psr7 to v2.7.0 (#5)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-23 14:27:44 +01:00
Jamie Barton
363f0c1a43 docs: better readme 2024-07-17 14:15:28 +01:00
Jamie Barton
fb57da465e update router test 2024-07-17 13:50:06 +01:00
Jamie Barton
335b69fbf3 separate Router 2024-07-17 13:31:12 +01:00
Jamie Barton
129f87270c path and pathName helpers 2024-07-17 13:08:24 +01:00
Jamie Barton
12813172a2 phpdoc and refactoring 2024-07-17 09:34:05 +01:00
Jamie Barton
350ab516e5 use the platform 2024-07-16 22:50:59 +01:00
Jamie Barton
d401b1dbb0 feat: handle redirects 2024-07-16 13:03:59 +01:00
Jamie Barton
f96cfaf1db feat: context variables 2024-07-16 12:44:34 +01:00
Jamie Barton
219ae52bf3 feat: fallback to dev server if none provided 2024-07-16 12:27:47 +01:00
Jamie Barton
b44f3ebc90 server interface 2024-07-16 12:19:37 +01:00
Jamie Barton
e1b0e8df27 abstract server into interface 2024-07-15 21:09:07 +01:00
Jamie Barton
4f49187515 update example to use array of users 2024-07-15 19:11:45 +01:00
Jamie Barton
101c05d02b query params and body parsing 2024-07-15 18:59:04 +01:00
Jamie Barton
66d75d3017 chore: cleanup 2024-07-15 17:51:56 +01:00
Jamie Barton
c051d71d94 docs: add setHeader example 2024-07-15 16:42:42 +01:00
Jamie Barton
330a999c0e update example quickstart 2024-07-15 16:24:38 +01:00
Jamie Barton
7b97c32a61 routing improvements 2024-07-15 16:18:47 +01:00
renovate[bot]
d9ef0f82a4
Update dependency phpunit/phpunit to v11 (#2)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-15 15:25:07 +01:00
Jamie Barton
8ae0afe725
Merge pull request #1 from notrab/renovate/configure
Configure Renovate
2024-07-15 15:14:36 +01:00
renovate[bot]
059a69af94
Add renovate.json 2024-07-15 13:29:07 +00:00
Jamie Barton
3205c4f0f7 update composer name 2024-07-15 14:28:28 +01:00
Jamie Barton
f9637d7e9f initial commit 2024-07-15 14:27:57 +01:00