Articles


PHP Dublin Meetup - January 2016

2 years ago by: matt

First meetup of 2016 and probably the best one I've attended so far. Rasmus Lerdorf himself gave a great presentation/introduction to PHP 7 which came with examples and benchmarks. I also loved the deployment example without loosing requests in progress. Obviously there is still no similar solution for deployments with schema changes but one can dream...

PHP 7.0.2 has already been released so there...

Continue reading


Phalcon PHP route model binding

2 years ago by: matt

Edit: I have since this article was written updated the Phalcon documentation here to include this example. I have also put in a pull request to 2.1.x to put this functionality into the dispatcher in the phalcon core.


So this is something I discovered today after creating a new feature request over on the cphalcon GitHub. My initial request was to allow for route model binding similar to what is ...

Continue reading


Image upload with Summernote 0.7 and Laravel 5

2 years ago by: matt

Couldn't get this working right out of the box due to some changed syntax/callbacks on summernote so here's some quick code samples on how to get image upload working for summernote 0.7. Keep an eye on the summernote insertion API for any changes in future:

http://summernote.org/deep-dive/#insertimage

Unless you have manually disabled csrf, Laravel will be expecting the post request to also submit t...

Continue reading


2015 is a wrap

2 years ago by: matt

Well another year comes to an end and the stats are in:

  • 12 flights across Europe
  • 2000+ miles driving across Europe
  • 7 Countries visited
  • 6 Skydives
  • 100 B.A.S.E jumps
  • 10 weeks abroad

I also got to work on some pretty interesting projects over the year. Early on in the year I finished off a project for a private client which was for tracking quality control across multiple companies. I contracted for a few m...

Continue reading


Compiling PHP 7 from source

2 years ago by: matt

I work out of /usr/local/src for anything I'm compiling from source so adjust to suit your own setup.

cd /usr/local/src

Grab yourself the latest version available on the php.net website using wget in the current directory.

Once you have finished downloading you need to gunzip and untar:

sudo gunzip php-7.0.1.tar.gz
sudo tar -xvf php-7.0.1.tar
cd php-7.0.1

To keep track of what configuration I compiled so...

Continue reading