Installation / Configuration


Composer install

composer require robindrost/prismic-eloquent

Or download .zip format


Run the following artisan commands to publish the configuration files and service provider to your project.

php artisan vendor:publish


Api credentials

Most important to configure is your repository url and (if needed) access token. You can either set them directly or configure them in the .env file.

'url' => env('PRISMIC_ELOQUENT_URL', ''),
'access_token' => env('PRISMIC_ELOQUENT_ACCESS_TOKEN', ''),