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

Create New Post Contact Us

Explore the World of Relationships in laravel 5.1

In a real-world context, everything is connected; for example, a car has an owner, a book has an author (or maybe more than one), or an e-commerce order is related to one or more products that a customer (another relation!) has ordered.

Everything

phpGrid, Laravel 5 and Bootstrap 3

This tutorial will begin by walking you through the integration of the Laravel 5 and Bootstrap 3 themes. Afterwards, we will show you how to add PHP datagrid. If the Laravel and Bootstrap theme are already up and running on your server, you can skip

Entrust package and Laravel 5.1.11+

Since Laravel 5.1.11, Laravel has provided the new authorization services (ACL) out of the box. That's great.

The bad news is, Entrust doesn't play well with the new feature (Entrust conflicts with Laravel 5.1's new built-in Authori

Accessing distant relationships in laravel

Another really interesting Eloquent feature is the possibility to define (and then access) a distant relation, using the hasManyThrough() method.

What? I see you are a little confused. No problem: let’s take another example, which is a littl

Building Real-Time Laravel Apps with Pusher

Pusher is a hosted service that makes it super-easy to add real-time data and functionality to web and mobile applications. This is a 2 hour workshop that will show you how to add real-time features to your Laravel apps with Pusher.

Functional testing with Behat in Laravel 5

While phpspec follows the BDD by specification and is useful for specification and design in isolation, its complimentary tool Behat is used for integration and functional tests. Since phpspec suggests to mock everything, database queries wouldn&rsqu

Descending the code in Laravel 5

In this section you are going to read, I will go through the Model class and analyze it a little deeper than the usual. Nothing so advanced, so don’t worry: I will just use the class code to show you what you can do with your models.

Take it

Laravel 5 client side validation with Parsley.js

When I was starting in Web development I was coding client side validation in pure JavaScript, after that I started using jQuery, and finally I discovered Parsley.js. Every time my motivation to move from one option to another was amount of code I ne