Testing Eloquent Models with Faktory

by Adam Wathan on September 26, 2014

Eloquent is an ActiveRecord implementation, which means a lot of the time the behavior you’re adding to your models needs to hit the database to work correctly.

Imagine you a Customer model who has many Orders, and you need a way to get the orders for that customer that haven’t been shipped yet.

Continue Reading »

Laracon EU Ticket Giveaway!

by vehikl on July 25, 2014

Vehikl is giving away a ticket to Laracon EU in Amsterdam!

Laracon Europe is a three-day event in historic Amsterdam where developers will improve their knowledge and awareness of modern engineering techniques and strengthen their network of like-minded developers.

Enter below for your chance to win!

a Rafflecopter giveaway

Why PHP doesn’t suck anymore

by Grant Lovell on June 13, 2014

View the slideshow here: http://slides.com/grantlovell/why-php-doesnt-suck-anymore

How did we get here

Chances are if you have been in web development for any amount of time you have done some work with PHP and maybe it was a great experience like it was for me, or perhaps it was hours and hours of digging through WordPress code to figure out why a plugin wasn’t working.

Continue Reading »

Using Bootstrap as a Mixin Library

by Adam Wathan on June 6, 2014

If you’re already using Less for your custom stylesheets but importing Bootstrap as plain CSS, you’re missing out.

The Bootstrap website doesn’t do a great job of encouraging you to use their source Less files, but it makes it a lot easier to write clean, semantic markup.

Getting it setup in your project is also really simple, and if you do it right, you can actually get a nice reduction in file size.

Continue Reading »

Extend vs. Mixins in Less

by Caryn Humphreys on May 27, 2014

If you’ve ever used Less before, you’ve almost definitely leveraged the power of mixins to DRY up your stylesheets.

Maybe you had some standard button styling like this:

.btn {
  background: blue;
  color: white;

…and you wanted to include those styles in another more specific button.

Continue Reading »