Skip to content

Commit

Permalink
suggestions added
Browse files Browse the repository at this point in the history
  • Loading branch information
rrd108 committed Jan 24, 2024
1 parent 79f725d commit db43753
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ A Simple Token Authentication Plugin for CakePHP 5 REST API-s.

For CakePHP 4 version see [rrd108/api-token-authenticator](https://github.com/rrd108/api-token-authenticator/tree/cakephp-4)

For a REST API you may want to use a cors plugin like [rrd108/cakephp-cors](https://github.com/rrd108/cakephp-cors) and a json api exception plugin like [rrd108/cakephp-json-api-exception](https://github.com/rrd108/cakephp-json-api-exception).

## Configuration

### `Users` table
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"cakephp/cakephp": "^5.0"
},
"suggest": {
"rrd108/cakephp-json-api-exception": "Make your CakePHP 4 JSON REST API response more descriptive on errors"
"rrd108/cakephp-cors": "Activate CORS domain in your application with Middleware",
"rrd108/cakephp-json-api-exception": "Make your CakePHP JSON REST API response more descriptive on errors"
}
}

0 comments on commit db43753

Please sign in to comment.