Don't forget where you come from

It's 2013, baby, you're a badass rails developer. Sure you've made a few mistakes. Most of them in PHP. But those days are long gone left behind in a trail of dust with your matchbox twenty LPs and your matrix trenchcoat.

...but lately, you've been twitchy. You've seen things. In the corner of your eye. In flashes in the mirror.

It's PHP. Everywhere, it's PHP. You realize you haven't left your legacy projects behind. You've just traded them with someone else. And they're way worse than you ever were.

But anyway. We're all adults here. We're over the whole "making fun of PHP" thing.

Ivy saves the day

You're responsible for these apps now. Wouldn't it be nice to have the same world-class error monitoring that you've grown used to in your rails projects?

Now you do.

Let's all give a huge round of applause to Ivy Evans. This super-talented Ruby developer has taken a bullet for all of us and built the most amazing PHP client for Honeybadger.

Check it out on GitHub

The setup is very simple:

`<?php

use Honeybadger\Honeybadger;

Honeybadger::$config->values(array(
    'api_key' => '[your-api-key]',
));
`

And it even supports more advanced features, like sending your own custom notices

`<?php

try
{
    $params = array(
        // Params that you pass to a method that can throw an exception.
    );
    my_unpredictable_method($params);
}
catch (Exception $e)
{
    Honeybadger::notify(array(
        'error_class'   => 'Special Error',
        'error_message' => 'Special Error: '.$e->getMessage(),
        'parameters'    => $params,
    ));
}
`

There's still a few features left to be ported over from the main gem, but all the major stuff is there. And if you find yourself missing a certain feature, let us know. We'll make it happen.

Try Honeybadger for FREE

Honeybadger helps you find and fix errors before your users can even report them. Get set up in minutes and check monitoring off your to-do list.
Start free trial
Easy 5-minute setup — No credit card required
author photo
Starr Horne

Starr Horne is a Rubyist and Chief JavaScripter at Honeybadger.io. When she's not neck-deep in other people's bugs, she enjoys making furniture with traditional hand-tools, reading history and brewing beer in her garage in Seattle.

More articles by Starr Horne