List available types of relationships in Laravel Eloquent.
Types of relationship in Laravel Eloquent are: 1) One To One 2) One To Many 3) Many To Many 4) Has Many Through, and 5) Polymorphic Relations.
Types of relationship in Laravel Eloquent are: 1) One To One 2) One To Many 3) Many To Many 4) Has Many Through, and 5) Polymorphic Relations.
While processing a large amount of data, you can use the cursor method in order to reduce memory usage.
ORM stands for Object Relational Mapping
Validations are an important concept while designing any Laravel application. It ensures that the data is always in an expected format before it stores into the database. Laravel provides many…
Here are important benefits of Laravel: Laravel has blade template engine to create dynamic layouts and increase compiling tasks. Reuse code without any hassle. Laravel provides you to enforce constraints…
It is a technique in which one object is dependent on another object. There are three types of dependency injection: 1) Constructor injection, 2) setter injection, and 3) interface injection.
An event is an occurrence or action that help you to subscribe and listen for events that occur in Laravel application. Some of the events are fired automatically by Laravel…
You can use enableQueryLog method to enable query log in Laravel.
Service container is a tool used for performing dependency injection in Laravel.
Default packages of Laravel 5.6 are: 1) Envoy 2) Passport 3) Socialite 4) Cashier 5) Horizon 6) Scout.