Laravel bad practice #1

Moroccan PHPers
Moroccan PHPers
752 بار بازدید - 4 سال پیش - In this tutorial you will
In this tutorial you will learn why it's a bad practice to call the eloquent model directly in the controller and how to avoid that by defining a repository. In addition we will inject and use the logger service instead of the Log Façade. Project on Gitlab: gitlab.com/arakibi/shop-admin Moroccan PHPers on Facebook: www.facebook.com/groups/moroccanphpers/
4 سال پیش در تاریخ 1399/03/24 منتشر شده است.
752 بـار بازدید شده
... بیشتر