composer require robindrost/prismic-eloquent
Run the following artisan commands to publish the configuration files and service provider to your project.
php artisan vendor:publish
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', ''),