25/10/2020
Hello Web Developers!
It's true that most of the php developers come to Laravel with wordpress developement skills. WordPress is still the most renowned Content Management System (CMS), its resource is huge, still its market demand is high enough. But Laravel is also becoming popular day by day. Any kind of web projects written in php can be developed by Laravel Framework including the project types multi-tenant, multi-vendor , microservices etc. The opensource community of Laravel Framework is also getting more versatile and huge.
After becoming a big lover of Laravel and WordPress, we wish if there is a good way of integrating both WordPress and Laravel together would be great. We could have use Power of Page builders of WordPress and Power of MVC of Laravel.
Previously it was difficult. Now it is easier. You can use the power of page builders of WordPress CMS and the power of MVC pattern of Laravel at a same project.
There are multiple opensource projects. I am including some of these projects here:
1. https://github.com/corcel/corcel : It brings the power of Model, Scopes, Relations of Laravel in WordPress. I am a big fan of it. You can extend its features easily if you need.
2. https://github.com/tareq1988/wp-eloquent: This is a library package to use Laravel's Eloquent ORM with WordPress.
3. https://github.com/Cyber-Duck/laravel-wp-api: laravel-wp-api integrates directly with the WordPress JSON REST API for self hosted sites.
After installing you have access to a WpApi alias which makes it easy to query for data.
4. https://github.com/wordplate/wordplate: It has something more to integrate wordpress and laravel together. Check its repo to get more info.
WordPlate is a wrapper around WordPress to make developers life easier. It is just like building any other WordPress website with themes and plugins. Just with sprinkles on top. - wordplate/wordplate