Source: strapi.medium.com

Using Strapi and Laravel

Category: Laravel, Laravel, PHP, PHP, MySQL, MySQL, nodejs, nodejs, javascript, javascript

Strapi and Laravel are both powerful tools that are making developers’ lives easier.

It would be nice to talk about these technologies independently before we dive into how we can use Strapi and Laravel.

So we are going to install and Laravel and Strapi and connect a Strapi to the Laravel project.

This is how Laravel folder structure looks like: Now to interact with Strapi through Laravel, we need to install this package laravel-strapi in our application.

Now, if we run http://127.0.0.1:8000/test in our browser, we will get this: This is the whole collection of the blog.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners