Using validation as a service in Laravel

Laravel has an awesome validation library baked into it's core. It's supremely useful and easily extensible. The documentation shows just how easy it is to use: $validator = Validator::make( array('name' => 'Euan'), // Input array('name' => 'required') // Rules ); if ($validator->fails()) { // Validation has failed /** @var \Illuminate\Support\MessageBag…

Even easier Laravel installation with WebFaction

Since Laravel 4.1 was released, installing it on Webfaction has become even easier thanks to the new installer provided by the project. This guide will help you install Laravel quickly and easily. First steps: SSH The first thing you will need to do is SSH in to your account…

Using Gravatars in your Laravel application

Gravatars are immensely popular in the online world, as is Laravel for PHP based web applications these days. We can easily use Gravatars within our Laravel based applications with my SimpleGravatar package. Letting your users use one on your site has many advantages - the least being user experience. If…

Writing super neat queries in MyBB

MyBB's base database class helps make things much easier in many ways by providing useful methods such as simpleselect(), fetcharray() and insertquery(). Sometimes though, nothing beats writing a proper query by hand and handing it over to either the query() or writequery() methods. When you feel the need to do…

Templating MyBB plugins the super easy way

There are many different techniques used to add new templates via MyBB plugins. I've seen people building arrays within their plugin files, using XML files and more. In this post though, I will outline my current favourite way that makes use of standard HTML files and PluginLibrary along with PHP's…

Xbox Live statistics fetching class released

I'm a big fan of Xbox Live and have had a plugin available for MyBB for a pretty long time now titled "MyXBL" that shows a user's Xbox Live details in  their profile and provides a basic leader board of all your members. I've also had my own gamercard generator…

MyAlerts finally released

After a supremely long development cycle as far as MyBB plugins go, MyAlerts has finally been released into the wild. You can see the full details regarding the plugin either here at euantor.com or at MyBB.com. Hopefully there should be no major bugs in the system but if…