I’ve just started and would like to integrate Prismic with an existing Laravel project but the documentation is not clear for me. Point 3 on this page: https://prismic.io/docs/laravel/getting-started/integrating-with-an-existing-project
says “To use the Prismic PHP library, you will need to include an instance of it. Simply add the following code”. But where should I add this code?
Hi @robo-tix, I believe that the documentation is vague about it because you’ll need to add it where you’ll use it. So that might be completely different for everyone’s individual projects.
In any case, I suggest you explore this starter project to get a feel for how Prismic could be integrated into a project:
Hopefully that gives you a good starting point!
Thanks @levi. Thanks very much for that. I'll check it :)