Laravel Turns Five


Five years ago today Taylor announced the first release of Laravel to the world.

I’ve been working on this framework for about 7 months. I’ve worked really hard to make it powerful, yet accessible. I set out to launch with documentation as good as CodeIgniter from day one, and I think we did. The syntax is intuitive and expressive.

Even though a lot has changed and improved since that first release the code still has that same feel. Here is an example of the way routing was:

'GET /' => function()
    return View::make('home/index');

Like all newborns that first release was very minimal–no controllers, no Eloquent, no templating system. It had enough to get you started but lacked the niceties we now enjoy. Here is a look at some of the major items that have been added to the framework in the past five years that we now take for granted:

  • Artisan
  • Authorization
  • Authentication
  • Blade
  • Cashier
  • Collections
  • Composer
  • Controllers
  • Elixir
  • Eloquent
  • Homestead/Valet
  • Migrations/Seeding
  • Middleware
  • Queues
  • SSH Tasks

When I first found Laravel it was late 2011 or early 2012 and I just had a gut feeling this could be big. I jumped on board not long after by creating Laravel News to share news with the community. I’m thankful I was in the right place at the right time and this has enabled me to meet so many friends from all across the world.

Happy birthday Laravel and a big thank you to Taylor and the entire community.

Source: Laravel News

Building a Status Board using Laravel and Vue

Laravel Dashboard

Freek Van der Herten has a new tutorial on how his team built a company status board using Laravel and Vue.js.

Each tile is it’s own Vue component. Laravel’s default scheduler is used to periodically fetch some data from the API’s of Google Calendar,, etc… When Laravel receives a response from any of those services a broadcast event is fired to Pusher. This powerful service leverages websockets to carry over server events to clients in realtime. On the client side the Vue component will listen for that broadcasted Pusher event and update the tile.

Then to display it on a TV they use a Raspberry Pi 2. The Pi used the default Raspian OS. When it is powered on it’ll automatically launch Chromium 50 and display the contents

The code behind this is also open source so you can run your own.

Source: Laravel News

Authentication With GitHub

For countless apps, simple GitHub-based authentication is the perfect choice. But don’t worry about figuring out API calls. As always, Laravel makes this process a breeze.

View the source for this lesson on GitHub.
Source: Laracasts

PHP Version Stats: May 2016


Jordi Boggiano, the creator of the Composer project, released PHP version stats for May of 2016 and a comparison against last November.

I look in the logs of the last 28 days for Composer installs done by someone. Composer sends the PHP version it is running with in its User-Agent header, so I can use that to see which PHP versions people are using Composer with.

The results are interesting and it shows a big swing in people adopting PHP 7.0:


A few observations: 5.3 dropped to almost nothing which is great news! 5.4 is also down by almost 10% and is definitely on the way out. 5.5 is still big but less so, while 5.6 got a huge boost to become the main version. The big surprise is that we have 20% of PHP7 already! That is great news only six months after this major release came out.

It is great news to see PHP 7.0 gaining so much, but as Jordi said, this is just a subset of the PHP ecosystem. I have to imagine actual adoption is much lower.

Source: Laravel News

Consider Fluent Interfaces

Fluent interfaces often get a bad rap, but the truth is that there are countless scenarios where you may consider leveraging them. In this episode, we’ll review the basic definition and makeup for a fluent API, and will then move on discussing a handful of real-life examples in the wild.
Source: Laracasts

Laravel 5.3: Rollback one migration


A new feature has been added to Laravel 5.3 that will allow you to back out a single migration:

php artisan migrate:rollback --step=1

This is great for when you migrate and it runs through a batch but you want to back out just the last one instead the whole batch.

Source: Laravel News

Authentication With No Passwords?

In the last year, more and more applications have adopted password-less authentication. The general approach is fairly simple. When a user wishes to login, they provide their email address, an email with a unique login link is delivered, they click on it, and, boom, they’re in. Let’s learn how to do this in your next project.

View the source for this lesson on GitHub.
Source: Laracasts

LaraCart is built to be a easy, fast and simple solution for cart based systems with Laravel.


LaraCart was built to be a easy, fast and simple solution for cart based systems.

What makes LaraCart unique is it what it includes out of the box:

  • Coupons
  • Session Based System
  • Cross Device Support
  • Multiple cart instances
  • Fees such as a delivery fee
  • Taxation on a the item level
  • Endless item chaining for complex systems
  • Totals of all items within the item chains
  • Item Model Relation at a global and item level
  • Quickly insert items with your own item models
1 23 24 25 26