This is a place where all members can share their tutorials, links, news, packages, etc.

Create New Post Contact Us

Upload multiple images using jQuery, Ajax, PHP

We have received many requests from our readers on how to upload multiple images using jQuery, Ajax and PHP without refreshing the page or on fly. So, we have written the simple tutorial about multiple images upload using jQuery, Ajax and PHP. In thi

A PHP 7 / Laravel package to create slugs

Spatie, the company where I work, recently released a Laravel package called laravel-sluggable. It automatically creates unique slugs when saving a model.

To install that package you just need to put the provided Spatie\Sluggable\HasSlug-trait on

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

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