Download the PHP package cline/bearer without Composer

On this page you can find all versions of the php package cline/bearer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bearer

GitHub Workflow Status Latest Version on Packagist Total Downloads


Stripe-style typed API tokens with groups, environments, and audit logging for Laravel. Features conductor-based API, token rotation, revocation strategies, seamless Sanctum integration, and optional recoverable legacy tokens for systems that must display keys after creation.

Requirements

Requires PHP 8.5+ and Laravel 13+

Installation

If you want Bearer to delegate runtime ability checks to Warden, install Warden in your application and switch the authorization driver:

array remains the default provider. warden requires both the token's stored ability scope and the token owner's Warden permission to pass.

Bearer also honors the configured morph key map when hydrating token ownership relations. If your User, Organization, or other owner model uses ulid or uuid as its primary key, configure the relevant entry in morphKeyMap or enforceMorphKeyMap and Bearer will resolve owner, context, boundary, and the corresponding HasAccessTokensTrait relations correctly.

As of 6.0.0, the default bearer guard is stateless. Routes protected with auth:bearer authenticate only from bearer tokens. If you need the previous session-first behavior for first-party browser flows, register a guard that uses the stateful-bearer driver instead.

Documentation

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.

Credits

License

The MIT License. Please see License File for more information.


All versions of bearer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5.0
cline/ancestry Version ^2.0.3
cline/morphism Version ^2.0.3
cline/variable-keys Version ^2.0.3
facade/ignition-contracts Version ^1.0.2
laravel/framework Version ^13.7
spatie/laravel-package-tools Version ^1.93.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package cline/bearer contains the following files

Loading the files please wait ...