LaravelPackages.net
Acme Inc.
Toggle sidebar
cerbos/cerbos-sdk-laravel

Cerbos PHP Laravel SDK for interacting with the Cerbos PDP

253
5
v1.12.3
About cerbos/cerbos-sdk-laravel

cerbos/cerbos-sdk-laravel is a Laravel package for cerbos php laravel sdk for interacting with the cerbos pdp. It currently has 5 GitHub stars and 253 downloads on Packagist (latest version v1.12.3). Install it with composer require cerbos/cerbos-sdk-laravel. Discover more Laravel packages by cerbos or browse all Laravel packages to compare alternatives.

Last updated

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
Comments