Andy Huggins

Mostly code, or something cool

A Package for adding a Helpers.php file to your Laravel Application

I created a package to easily add a helpers.php file where you can store some global functions, now that is just a composer require away.

What the PHPuck?

Twitter blow ups only really hurt the community. Let's not do that.

Composer Package Development and easy local development

Use the "path repositories" feature of Composer to make local package development much easier and faster.

Future Reference - Silly CLI

A nice little package to make CLI apps. It's basically a wrapper around Symfony/Console, but still makes things nice and easy to work with.

Eloquent ORM Chunk method and very weird results

I ran into an issue with Eloquent ORM's `chunk` method, and it presented an interesting debugging issue, that is a lesson in itself.

Deploying Laravel with Elastic Beanstalk - .env

There are a few steps involved in deploying an app with Elastic Beanstalk, in this article I talk about how to handle the .env variables.

Recreating Laravel dd and dump functions without composer

I have come to appreciate the debug functions dd and dump that Laravel provides, that they feel a part of my workflow now. So when I find myself on a project that doesn't use Laravel, what to do?

Resource: FunFunFunction

A resource was recommended to me by a co-worker, that I feel is worth sharing. It focuses on JavaScript but discusses programming concepts in an entertaining way.

Great Example of Refactoring: Mathias Verraes

Stumbled across this example of refactoring which shows how to take existing nested if statements to good readable code. Worth a watch!

Crontab disappeared - help!

I was working the other day, needed to edit the root user cron, logged in tried to edit the cron, nothing happened, then tried again and Vim opened, but was empty. What the heck happened?