Author: ShairyPortfolio
-

-

-

PHP REST API CRUD – Step 14
Step 14 Login User with JWT create new file core. php in config folder Create login function in user.php 3. Copy all the code of step8- Read API for user 4. The complete code is below
-

PHP REST API CRUD – Step 13
Step 13 Register User with JWT Create a new file called register.php in user folder Download composer using command in api folder: composer require firebase/php-jwt create new file core. php in config folder Copy all the code of step5- Create API for user and use below lines in the starting of register. php files <?php…