{"id":20881558,"url":"https://github.com/nahidulhasan/laravel-passport-api","last_synced_at":"2025-05-12T17:30:35.262Z","repository":{"id":37518344,"uuid":"151913078","full_name":"nahidulhasan/laravel-passport-api","owner":"nahidulhasan","description":"Laravel with Passport Authentication for API development","archived":false,"fork":false,"pushed_at":"2022-06-21T17:45:52.000Z","size":368,"stargazers_count":13,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T08:44:45.852Z","etag":null,"topics":["api","authentication","laravel","passport"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/nahidulhasan.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":"2018-10-07T06:35:53.000Z","updated_at":"2023-03-10T08:59:23.000Z","dependencies_parsed_at":"2022-07-25T20:18:44.634Z","dependency_job_id":null,"html_url":"https://github.com/nahidulhasan/laravel-passport-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nahidulhasan%2Flaravel-passport-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nahidulhasan%2Flaravel-passport-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nahidulhasan%2Flaravel-passport-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nahidulhasan%2Flaravel-passport-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nahidulhasan","download_url":"https://codeload.github.com/nahidulhasan/laravel-passport-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253787139,"owners_count":21964285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["api","authentication","laravel","passport"],"created_at":"2024-11-18T07:25:18.218Z","updated_at":"2025-05-12T17:30:34.893Z","avatar_url":"https://github.com/nahidulhasan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel with Passport Authentication\n\nBasically this is a starter kit for you to integrate Laravel with Passport Authentication\n\n## Quick Start\n\n- Clone this repo or download it's release archive and extract it somewhere\n- You may delete .git folder if you get this code via git clone\n- Run composer install or composer update\n- Configure your .env file for authenticating via database\n- Run docker-compose build\n- Run docker-compose up -d\n- Run the following command to populate database tables.\n\n\t```bash\n\t$ docker-compose exec php php artisan migrate\n\t```\n\n- Visit `localhost:9008`\n\n\u003e **Note:**\n- You can now use:\n\n- ```POST /api/auth/signup``` –\u003e Create user \n\n    ```json\n    {\n    \t\"name\" : \"Test User \",\n    \t\"email\" : \"test@gmail.com\",\n    \t\"password\" : \"secret\",\n    \t\"password_confirmation\" : \"secret\"\n    \n    }\n\n     ```\n     \n     \n- ```POST /api/auth/login``` –\u003e with email and password, obtain a access token\n\n      \n\n- ```GET /api/auth/user``` –\u003e Get user info\n\n\n\nAnd remember, Passport requires you to provide the token as a header.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnahidulhasan%2Flaravel-passport-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnahidulhasan%2Flaravel-passport-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnahidulhasan%2Flaravel-passport-api/lists"}