Use Illuminate or Laravel Routing, Controllers & Eloquent Relationships in PrestaShop

I always found PrestaShop is a great system to work with, however, one of the drawbacks of PrestaShop is generating custom URLs. I know, you would say we can do it via a module front controller which I find tedious.

I was wondering how good it would be to use Laravel’s routing into PrestaShop? You may aware that Laravel use Illuminate for routing.

Below are the steps that will add custom routing ability to your PrestaShop store.

Of course, this small application will help you to create custom controllers as well. Believe me, they work faster than default Presta.

Install it via github https://github.com/ravaljigesh/prestolara

What are the flavors added into PrestaShop ?

  1. Custom and Easy Routing (https://laravel.com/docs/5.5/routing)
  2. Eloquent Relationships (https://laravel.com/docs/5.5/eloquent-relationships)
  3. Database Fluent Queries (https://laravel.com/docs/5.5/queries)
  4. Laravel Controllers (https://laravel.com/docs/5.5/controllers)

All this works along with Default PrestaShop functions.

You can still access $this->context into laravel controllers.

For any question or queries do write in below comment box.

Newsletter

Make sure to subscribe to my newsletter and be the first to know about my new post.

Subscribe on Youtube
FOR UPDATES

I post tutorials about various technologies on the youtube channel

Subscribe Now
Newsletter

Make sure to subscribe to my newsletter and be the first to know about my new post.

© 2019