Skip to content

Laravel package that let you use the Prismic api in a more (friendly) eloquent like way.

License

Notifications You must be signed in to change notification settings

Prisma-care/prismic-eloquent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notice

Base repository is not maintained anymore. This fork is merely created to keep using Prismic for Laravel 9 projects.

It's not using the official prismicio/php-kit package as this is the actual blocker of upgrading due to it's Guzzle and PHP version dependencies (at the time of writing). Instead a fork of the SDK is used, created to use the Prismic API with recent PHP frameworks: elgentos/prismic-php-sdk. See issue PR190 at prismicio/php-kit

Prismic Eloquent

Use the Prismic Api in a more (friendly) eloquent like way.

  • Runs on the latest Prismic api (v2)
  • Easy query writing
  • Relationship resolving with hasOne and hasMany
  • Support eager loading with the Prismic fetchLinks

Documentation

https://prismic-eloquent.gitbook.io/docs/

Example project

https://prismic-eloquent-blog.herokuapp.com/

https://github.com/robindrost/prismic-eloquent-blog

About

Laravel package that let you use the Prismic api in a more (friendly) eloquent like way.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%