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

Create New Post Contact Us

Using collection macros in Laravel

Laravel 5.2 provides some nice additions to the framework. One handy feature that I don’t see listed in the release notes is that Collection now is macroable. Using it’s macro function you can easily extend Illuminate\Support\Collection

Form array validation in Laravel 5.2

It's time to start writing about the new features in Laravel 5.2! You'll notice that many of these features are quicker and easier to learn and write up, so it may seem that it's a smaller release. But many of the features in 5.2 will

API rate limiting in Laravel 5.2

More and more of my work in Laravel lately has been creating APIs. I have a manual rate limiter class I've been using, but I've had a sense that there's a cleaner way to do it. Unsurprisingly, when Taylor set out to write a rate limite

Implicit route model binding in Laravel 5.2

If you've never used it, Laravel's route model binding has been around for a while, but Laravel 5.2 is about to make it even easier.

The basics of route model binding ---------------------------------

Let's assume that a common

Laravel 5.2 is released!

Laravel 5.2 is now officially released!

There are many new features. Let's check them out: **Middleware Groups** ---------------------

Middleware groups is a really good feature that you may want. You can now apply group of middlware

How to test uploading and returning files in Laravel

Last week we looked at creating temporary urls to allow API clients to get uploaded files without exposing those files to the public internet (Returning secure files from an API with temporary URLs).

Uploading and returning files is a very common

Easier Date/Time in Laravel and PHP with Carbon (+ Steam Card Giveaway)

Working with date and time in PHP is not the easiest or most clear of tasks. We have to deal with strtotime, formatting issues, lots of calculations, and more.

The nifty package called Carbon can help make dealing with date/time in PHP much easier

Choosing an HTTP Status Code — Stop Making It Hard

What could be simpler than returning HTTP status codes? Did the page render? Great, return 200. Does the page not exist? That’s a 404. Do I want to redirect the user to another page? 302, or maybe 301.

> I like to imagine that HTTP status

Get any programming book or video course (Laravel, PHP, JS, Swift, etc.) for only $5!

We would like to let you know that Packt will be hosting its annual $5 eBook Campaign starting today and will end on 8th January 2016.

![enter image description here][1]

During this time, all of Packt’s eBook titles and video courses wil

Dependent Dropdown List with Jquery in Laravel 5.1

In this tutorial, we are going to do a simple, straightforward dependent dropdown list using jQuery and Laravel 5.1. This tutorial is oriented toward beginners, so there will be a lot of granular detail, gists are provided for views. Intermediate pro