Programming tutorials for Frontend, Backend and DevOps

Written by Mitch StanleyDeveloper at isev, PukkaTeam and Snipline

Latest PHP Articles

Deploying a CraftCMS website with Dokku

I recently set up my personal blog with Craft CMS and wanted to host it on my own server. To make the most of my own servers, I tend to run web applications using Dokku. This blog post goes through the details of the process of doing so for your own projects.

Continue Reading

Making moderation easy

For just over a year I've been working on a website called [Eurekar](http://eurekar.co.uk). To describe it briefly, it's a cool little website which has news articles for cars, a fairly complex article search and another search for UK car dealerships.

Continue Reading

Realtime chat with Laravel, Ember JS and Pusher

This article will show you a very bare bones chat system with Laravel 5, Ember JS 1.10 and Pusher.

Continue Reading

Bootstrap 2 pagination in Laravel 5

I recently had to help port a website that used Twitter Bootstrap 2 to Laravel 5 and discovered that changing the pagination template is completely different in Laravel 5.

Continue Reading

Using Eloquent, Twig and Slim PHP - Revisited

It’s been about one and a half years since I made my blog post Using Eloquent, Twig and Slim PHP and a lot’s changed since then but I still love using these three tools for small websites.

Continue Reading

Simple Search with Laravel and ElasticSearch

I was recently asked to make a search engine for a client's website. Normally I would go down the MySQL fulltext search route but I was feeling rather adventurous at the time. I had no experience with ElasticSearch, Apache Solr or any other search system prior to this so I decided to pick ElasticSearch and dive in head first. This tutorial is a result of some of the things I picked up while learning it.

Continue Reading

PHP 5.4 Trait Qwerks

Although the title may lead you to think otherwise; I actually really like Traits. I wish I had made the switch to 5.4 sooner! Bundle them with the shorter array syntax and I'm a happy PHP dev.

Continue Reading

Laravel 4.1 one-to-one polymorphic relationships

To use one-to-one polymorphic relationships in Laravel 4.1 use the "morphOne" method in your models.

Continue Reading

Middleman Template: bootstrap3, SASS and Slim

As quoted from their website, Middleman is "A static site generator using all the shortcuts and tools in modern web development".

Continue Reading

Creating a Twitter Feed in Laravel 4

In this tutorial I aim to show three things: How to get Twitteroath working with Laravel 4. How to create and access a new configuration file for your twitter settings. How to create a helper method for your tweets

Continue Reading

Using Eloquent, Twig and Slim PHP

Originally while I was writing this blog I intended to make a step by step guide to putting together three of my favourite PHP tools. After a few issues and finding out that Slim Views is now a thing I decided instead to put together a git repo so anyone can get started quickly.

Continue Reading

Automating Configurations with Laravel

One of my favourite features of Laravel is how it handles configurations for different environments. You can have different settings for development, staging, beta, production and even separate configurations for each developer working on the project.

Continue Reading