Installation / Configuration
Download
Composer install
composer require robindrost/prismic-eloquentOr 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:publishConfiguration
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