Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 18, 2024 via composer

laravel/passport v8.5.0

Laravel Passport provides OAuth2 server support to Laravel.
Package summary
Share
1
issue
1
high severity
vulnerability
1
2
licenses
65
MIT
3
BSD-3-Clause
Package created
15 Aug 2016
Version published
5 May 2020
Maintainers
1
Total deps
68
Direct deps
16
License
MIT

Issues

1

1 high severity issue

high
via: firebase/php-jwt@v5.5.1
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
65 Packages, Including:
brick/math@0.12.1
carbonphp/carbon-doctrine-types@3.2.0
defuse/php-encryption@v2.4.0
doctrine/inflector@2.0.10
guzzlehttp/guzzle@6.5.8
guzzlehttp/promises@1.5.3
guzzlehttp/psr7@1.9.1
illuminate/auth@v7.30.6
illuminate/console@v7.30.6
illuminate/container@v7.30.6
illuminate/contracts@v7.30.6
illuminate/cookie@v7.30.6
illuminate/database@v7.30.6
illuminate/encryption@v7.30.6
illuminate/filesystem@v7.30.6
illuminate/http@v7.30.6
illuminate/pipeline@v7.30.6
illuminate/queue@v7.30.6
illuminate/session@v7.30.6
illuminate/support@v7.30.6
laravel/passport@v8.5.0
lcobucci/clock@3.2.0
league/event@2.2.0
league/oauth2-server@8.5.4
league/uri@7.4.1
league/uri-interfaces@7.4.1
nesbot/carbon@2.72.3
nyholm/psr7@1.8.1
opis/closure@3.6.3
paragonie/random_compat@v9.99.100
phpseclib/phpseclib@2.0.47
psr/clock@1.0.0
psr/container@1.1.2
psr/event-dispatcher@1.0.0
psr/http-factory@1.1.0
psr/log@2.0.0
psr/simple-cache@1.0.1
ralouphie/getallheaders@3.0.3
ramsey/collection@2.0.0
ramsey/uuid@4.7.6
symfony/console@v5.4.39
symfony/deprecation-contracts@v3.5.0
symfony/error-handler@v6.3.12
symfony/event-dispatcher@v6.4.7
symfony/event-dispatcher-contracts@v3.5.0
symfony/finder@v5.4.39
symfony/http-foundation@v5.4.39
symfony/http-kernel@v5.4.39
symfony/mime@v5.4.39
symfony/polyfill-ctype@v1.29.0

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
firebase/php-jwt@v5.5.1
laminas/laminas-diactoros@2.26.0
lcobucci/jwt@5.3.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

16
All Dependencies CSV
ⓘ This is a list of laravel/passport 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
firebase/php-jwtv5.5.1-BSD-3-Clause
prod
1
guzzlehttp/guzzle6.5.8-MIT
prod
illuminate/authv7.30.6-MIT
prod
illuminate/consolev7.30.6-MIT
prod
illuminate/containerv7.30.6-MIT
prod
illuminate/contractsv7.30.6-MIT
prod
illuminate/cookiev7.30.6-MIT
prod
illuminate/databasev7.30.6-MIT
prod
illuminate/encryptionv7.30.6-MIT
prod
illuminate/httpv7.30.6-MIT
prod
illuminate/supportv7.30.6-MIT
prod
laminas/laminas-diactoros2.26.073.36 kBBSD-3-Clause
prod
league/oauth2-server8.5.455.07 kBMIT
prod
nyholm/psr71.8.123.14 kBMIT
prod dev
phpseclib/phpseclib2.0.47-MIT
prod
symfony/psr-http-message-bridgev2.3.113.67 kBMIT
prod

Visualizations

Frequently Asked Questions

What does laravel/passport do?

Laravel Passport is a popular package for Laravel (found at https://github.com/laravel/passport.git) that provides support for creating an OAuth2 server. OAuth2, standing for Open Authorization version 2, is an industry-standard protocol that allows for the authorization of a third-party application to provide a service on behalf of a user. In short, Laravel Passport makes handling API authentication in your Laravel applications simple and straightforward, promoting efficient and enjoyable development.

How do you use laravel/passport?

Using Laravel Passport involves adding the package to your Laravel project and configuring it for use.

Firstly, you need to include Laravel Passport through composer:

composer require laravel/passport

After successfully pulling in the package, migrate your database:

php artisan migrate

Next, you'll want to include Passport's service provider in your app/Providers/AuthServiceProvider.php file's boot method:

public function boot()
{
    $this->registerPolicies();

    Passport::routes();
}

Once you've registered the routes, you should run passport:install command:

php artisan passport:install

This will generate encryption keys required for generating secure access tokens. In addition, this command will create “personal access” and “password grant” clients which will be used for generating JWT tokens.

After this setup, you will be able to use OAuth2 authentication to protect endpoints in your Laravel application.

Where are the laravel/passport docs?

For more comprehensive instructions and usage details, the official Laravel Passport documentation can be viewed at the Laravel website. The direct link to the Laravel Passport documentation is: https://laravel.com/docs/passport. The documentation provides a complete guide to getting started and effectively using the Laravel Passport package, including a deep dive into more advanced topics such as issuing tokens, revoking tokens, and configuring middleware.