Category Archives: Laravel

What is Laravel?

Laravel is a free, open-source PHP web framework used for web application development. It was created by Taylor Otwell in 2011 and has since become one of the most popular PHP frameworks. Laravel is designed to make it easier for developers to write web applications by providing a set of tools and features that simplify… Read More »

php arithmetic operators

The PHP arithmetic operators are used to perform mathematical operations on numbers. They include addition, subtraction, multiplication and division. The basic arithmetic operators are + (addition) – (subtraction) * (multiplication) / (division)

What is the difference between a session and cookies?

Difference between cookies and session is : Cookies stores the information on client browser and session stores the information on server. session and cookies are used to store the information.

What is Accessor in Laravel?

As we know laravel accessor is very userful feature. It is used for creating the virtual attribute on the object which you want to access it as database column name. So for example if you want to show full name and in your database table (users) has first_name and last_name columns, you can write: Then you can call $user->full_name and it… Read More »