Installation / Configuration

Download

Composer install

composer require robindrost/prismic-eloquent

Or download .zip format

http://github.com/robindrost/prismic-eloquent

Artisan

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

php artisan vendor:publish

Configuration

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', ''),

Last updated