REST API example with JWT and Php
- Call login api and get jwt token from response.
- Call others api using that jwt token.
-
Application root access file is index.php
-
Sample api request file is sample_request.php
-
Api examples are written in src\Services\Api.php file
-
Application services location is src\Services
-
Application helper functions are written in src\Helper\Common.php file
-
Application common configuration are written in src\config\common.php
-
Application validation and request handler location is src\Request