Andy Huggins

Mostly code, or something cool

Laravel Testing - Testing Middleware

I made a silly mistake by using the ->make() instead of the create() in my test. Did a lot of digging and ultimately realized my error, but it could be useful to others.

Would making 'Artisan make:?' auto open the file in an editor be useful?

Re-watched a talk and noticed that the speaker always had to switch to editor and open file after generating a class...couldn't this be automated? Would this be a good idea? Should I do something more with this?

SocialiateProviders and spoofed_client_id

I discuss a situation that required me to dig through some code to troubleshoot a Socialite oAuth connection that seemed to never work.

Mysql indexes can dramatically improve performance in your app

I'm not sure I really understood just how much indexes can improve performance for things in your app. After some recent modifications to an app, and then some necessary optimizations...I am now a believer.

Working with Laravel Queues

Lessons I learned when using queues for the first time on a recent Laravel project.

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.

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.