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

Create New Post Contact Us

Download Laravel Application Development Blueprints book for FREE!

Packt Publishing is giving you a premium book for free! Just click the link below, register an account if you don't have one yet, login and click Claim Your Free Book to get it.

Download Laravel Application Development Blueprints book for FREE!

Dead simple domain mapping in Laravel Homestead

Introduction ------------

About a month ago, Freek Van der Herten wrote some Laravel Homestead tips on his blog. The item that stood out for me was avoiding having to edit the hosts file. I won't go into much more detail here, but essentiall

How to deploy Laravel applications on shared hosting

The simple guide to deploy Laravel and Lumen application on shared hosting.

For a quick version of the guide (many of you might already read about it), read my post on medium, "The simple guide to deploy Laravel 5 application on shared hostin

Laravel and shared-hosting: working with FTP and phpMyAdmin

With Laravel, we get used to command line commands like composer install or artisan migrate. But what if we have only shared-hosting from client, with only FTP access and phpMyAdmin to manage database? Laravel is still usable in this case, but there

AND-OR-AND + brackets with Eloquent

Eloquent is a great thing – you can build your query step-by-step and then call get() method. But sometimes it gets a little tricky for more complicated queries – for example, if you have multiple AND-OR conditions and you want to put bra

Create a View inheritance in Laravel

ften times - for example, with index page lists - we have virtually the same blade for all of our models. "Virtually" all is the key word - because of course, a few will have some small differences. The temptation is to start adding conditi

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