{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/laravel-passport/","markdown":"https://findsoftware.frbit.cloud/laravel-passport.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"laravel-passport","name":"Laravel Passport","urls":{"home":"https://laravel.com/framework/docs/passport","repository":"https://github.com/laravel/passport","docs":"https://laravel.com/framework/docs/passport"},"category":["auth"],"description":"Laravel package that adds an OAuth2 server to a Laravel application, issuing access tokens to clients and users.","maintainer":"Taylor Otwell","firstRelease":2016,"hosting":["php"],"language":"php","runtime":["php"],"runtimeMin":"php 8.2","basedOn":["laravel"],"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"renderingModes":null,"installMethod":"php artisan install:api","licenseModel":"open-source","license":"MIT","currentMajor":"13","latestReleaseDate":"2026-11-10T00:00:00.000Z","githubStargazers":3423,"contributors":196,"packagistDownloads":110661153,"npmWeeklyDownloads":null,"dependentRepos":19261,"dependentPackages":562,"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"urls","url":"https://laravel.com/framework/docs/passport","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/laravel/passport","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://laravel.com/framework/docs/passport","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://github.com/laravel/passport/blob/v13.11.0/LICENSE.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://laravel.com/framework/docs/passport","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"basedOn","url":"https://github.com/laravel/passport/blob/v13.11.0/composer.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/laravel/passport","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://github.com/laravel/passport/blob/v13.11.0/composer.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtimeMin","url":"https://github.com/laravel/passport/blob/v13.11.0/composer.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://github.com/laravel/passport/blob/v13.11.0/composer.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://github.com/laravel/passport/blob/v13.11.0/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://github.com/laravel/passport/blob/v13.11.0/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://laravel.com/framework/docs/passport","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/laravel/passport/releases/latest","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/laravel/passport/releases/latest","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://repo.packagist.org/p2/laravel/passport.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/laravel/passport","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/laravel/passport/contributors","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"packagistDownloads","url":"https://packagist.org/packages/laravel/passport.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/laravel%2Fpassport","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/laravel%2Fpassport","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"Laravel Passport is a Laravel package that adds an OAuth2 server to an application. The [Laravel documentation](https://laravel.com/framework/docs/passport) says Passport is built on top of the League OAuth2 server, and covers the authorization code grant with PKCE, the device authorization grant, the password and implicit grants, the client credentials grant and personal access tokens. It describes the install command as creating the encryption keys access tokens need.\n\n## Worth knowing\n\nThe documentation presents Passport and Laravel Sanctum as the two options. It says an application that needs OAuth2 should use Passport, while single-page and mobile applications and plain API tokens fit Sanctum, which does not support OAuth2.\n\nThe deployment section says the encryption keys are usually kept out of source control and must be generated the first time Passport is deployed."}