Looking to hire Laravel developers? Try LaraJobs
This package is not available.

cerbos-sdk-laravel maintained by cerbos

Description
Cerbos PHP Laravel SDK for interacting with the Cerbos PDP
Author
Last update
2026/04/20 03:04 (dev-renovate/lock-file-maintenance)
License
Links
Downloads
170

Comments
comments powered by Disqus

Cerbos Laravel SDK

Latest Stable Version Total Downloads License

Cerbos Laravel SDK provides cerbos service provider and configuration for using Cerbos with laravel.

Installation

You can install the SDK via Composer. Run the following command:

composer require cerbos/cerbos-sdk-laravel

The CerbosServiceProvider is auto-discovered and registered by default.

But, it is also possible to manually register the CerbosServiceProvider too by adding it to config/app.php.

    'providers' => ServiceProvider::defaultProviders()->merge([
        // ...
        \Cerbos\Sdk\Laravel\Provider\CerbosServiceProvider::class,
    ])->toArray(),

Use the artisan vendor command which will create the config/cerbos.php for customizing the cerbos configuration.

php artisan vendor:publish