How to do raw query in Laravel

How to do raw query in Laravel

Besides the standard methods for database query that are available on laravel, you also have an option to do raw query, in this article i will show...
Laravel query builder example

Laravel query builder example

Instead of hand coding SQL code on your application, you should try to use query builder in laravel, in this article i will show some of the query...
Mass assignment technique in Laravel

Mass assignment technique in Laravel

When you learn about laravel, you probably heard about mass assignment, what does it mean? what exactly is mass assignment? should you care about...
How to add and drop indexes in Laravel schema builder

How to add and drop indexes in Laravel schema builder

On your laravel database migration you can define indexes for each table that you create, for example you can add primary key, unique value, or just...
How to check table column exist or not in Laravel

How to check table column exist or not in Laravel

Besides the 'hasTable' static method, you also have 'hasColumn' method which can check column exist or not on database table of larave...
How to check table exist or not in Laravel

How to check table exist or not in Laravel

Is it possible to check existence of database table in laravel code? the answer is yes, it is possible to check whether a table already exist or not...
Laravel 4.2 schema table column types

Laravel 4.2 schema table column types

These are list of schema table column types that you can use when creating database migration on laravel 4.2, most of these column types also available...

Category

Category