A place where all members can share their Laravel & PHP tutorials, links, news, packages, etc.

Create New Post Contact Us

Model Relationship to Itself

Laravel provides a nice and easy way to build model relationship using some methods like hasOne(), hasMany(), belongsTo() and belongsToMany() and each one of these methods are used for different kinds of relationships, for example, hasOne() used for

Laravel 4 - Two Pagination in a Single Page

Alright, if you’re existing Laravel user, you know that Laravel has make pagination easy. The problem now is, what if I want to have 2 pagination in a single page?

Using UUIDs with Laravel’s Eloquent ORM

By default, Eloquent uses an auto-incrementing integer as the primary key for its tables. While most of the time this is totally acceptable, sometimes there is a need for primary keys to be less predictable.

Creating Laravel AngularJS Application Series – Part 11

In this 11th video in a unset number in the tutorial series, we will go over setting up remote location modal windows. We will open up the logged in user data in a modal window that will allow the user to modify their profile details, and save it bac

No Tabs in IntelliJ IDEA

I often come across people complaining about some odd behaviour when it comes to editor tabs in IntelliJ IDEA or any of the other sister products such as WebStorm or PhpStorm. Some expect a different kind of behavior from tabs. Others want the abilit

Creating Laravel AngularJS Application Series – Part 10

In this tenth video in a unset number in the tutorial series, we will go over setting up a default layout that you can set on your views as to only have to write the nav bar code in one place, as well as your include files. The layout can then be add

Creating Laravel AngularJS Application Series – Part 9

In this ninth video in a unset number in the tutorial series, we will go over pushing your project to a GIT repository such as Github, Bitbucket or the self hosted Gitlab.

The Application will be built from the ground up in these videos, and will

[Package] Laravel FK Migration

This Laravel package provides a base migration for you to extend to easily create all your foreign keys. If you ever ran into the problem where you had to reorganize all your migrations due to failing foreign key constraints, this is the package for