{"id":18331243,"url":"https://github.com/bankole2000/php-rest-jwt","last_synced_at":"2026-03-19T03:57:29.268Z","repository":{"id":49232808,"uuid":"221003956","full_name":"Bankole2000/php-rest-jwt","owner":"Bankole2000","description":"⭐️🔏 SPA implementation of RESTful User Authentication with PHP, MySQL and JWT ","archived":false,"fork":false,"pushed_at":"2021-06-22T15:37:21.000Z","size":109,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-29T17:53:43.960Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bankole2000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-11T14:52:26.000Z","updated_at":"2025-03-23T13:44:55.000Z","dependencies_parsed_at":"2022-09-19T00:40:49.232Z","dependency_job_id":null,"html_url":"https://github.com/Bankole2000/php-rest-jwt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Bankole2000/php-rest-jwt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bankole2000%2Fphp-rest-jwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bankole2000%2Fphp-rest-jwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bankole2000%2Fphp-rest-jwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bankole2000%2Fphp-rest-jwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bankole2000","download_url":"https://codeload.github.com/Bankole2000/php-rest-jwt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bankole2000%2Fphp-rest-jwt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29319295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T20:44:44.282Z","status":"ssl_error","status_checked_at":"2026-02-10T20:44:43.393Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T19:28:56.951Z","updated_at":"2026-02-10T22:04:45.283Z","avatar_url":"https://github.com/Bankole2000.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP REST API with JWT Auth\n\n⭐️🔏 An SPA implementation of RESTful API with PHP, MySQL and JWT Authentication - [View Documentation](https://github.com/bankole2000/php-rest-jwt/blob/master/README.md)\n\n[![Practice](https://img.shields.io/badge/Practice-PHP-purple.svg)]()\n\n_\u003cp align=\"center\"\u003e\"**Hey!** Hold it right there big guy... Where do you think **you're** going? \u003cbr\u003e I'm gonna need to see some ID...\"_ 🔒 \u003c/p\u003e\n\n\u003cdiv align=\"center\" style=\"text-align:center; margin:auto;\"\u003e\n\u003cimg align=\"center\" src=\"https://i.imgur.com/vPi4U6K.png\" width=\"150\"/\u003e\n\u003c/div\u003e\n\n## What it is\n\nA simple, well-commented, learning oriented, basic Restful API with JWT Auth implementation for User access Management. Built with:\n\n- PHP 🐘\n- MySQL\n- JWT\n- Bootstrap 4\n- JQuery\n- Html\n- CSS\n\n## :electric_plug: What it does\nFeatures 1 basic resource - **Users** and API endpoints to handle basic User Requests;\n- _Post_ Register a new User and Generate JWT\n- _Get_ Get User Data for updating on Account Page\n- _Update_ user Account on Account Page \n* 🙎 User Authentication\n* 🔏Protected Routes\n* 📃Handling Multiform data\n\n## 💡Learning Points\n\n- JWT Authentication\n- Handling Different Method types in JQuery Ajax\n- API Documentation\n\n## Some cool stuff\n\nI'll gist about this later... but it's coming alright...\n\n```php\n/* Some Php code will be here... It's just classes \n mostly */\n```\n\n\u003e Also (Just a sidenote), I personally find this a lot easier to understand and build than `NodeJS` \u0026 `Express` APIs.\n\n## Features in Development\nSome Ideas in my head: \n\n* 💻 Refactoring in ES6 instead of jQuery (Using `Fetch` \u0026 `Async Await`) \n* ⚛️ Front-End Implementation with `React`, `Vue` or `Angular`\n* 📷 Handling File and Image Upload (User profiles etc) \n\n## Contribution\n\nContributions are highly welcome. Feel free to fork, clone, make pull requests, report issues etc.\n\n## Acknowledgments\n- Many thanks to the [Code of a Ninja](https://www.codeofaninja.com) ❤️😎  website for such a cool tutorial (among many others)\n- Thanks to [@torvalds](https://github.com/torvalds) 🙏 For Making the world a better place\n- And To anyone reading this... _You're awesome!_ 👊\n\nThat being said\n_\u003cp align=\"center\"\u003eAdieu, Come with me, let us go to the world of back end tokens and be RESTfully authenticated_  🕺🔏🚪 😄\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbankole2000%2Fphp-rest-jwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbankole2000%2Fphp-rest-jwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbankole2000%2Fphp-rest-jwt/lists"}