Joe Lennon

Developer of Founder of Subwoofr. Author of HTML5 in Action and Beginning CouchDB. IBM developerWorks Contributing Author.

Reducing the number of links in Laravel's default paginator template

Laravel's pagination features make it really simple to paginate your database queries and provide your users with links to navigate between pages of results. By default, these links are styled using standard Bootstrap classes. If you want to change the template used for the pagin...

Tags: laravel, blade, pagination, bootstrap

Minifying assets with Laravel Mix watch command

Laravel Mix is the fantastic Webpack-based asset compilation framework that ships by default with Laravel 5.4, replacing the Gulp-based Laravel Elixir. It has a ton of sensible defaults, and it's likely that you can use the default scripts in most cases to compile your assets. In...

Tags: laravel, mix, laravel54, webpack, watch

Announcing clob

A blog platform for developers.

I'm excited to announce a new open source blog platform targeted at software developers. I call it clob. I keep getting platform fatigue and constantly bounce between different products when it comes to blogging. As a developer, I love reinventing the wheel, so thought why not cr...

Tags: clob, blog, blogging, developers

Homestead issues with NFS on Ubuntu

If you're trying to run Homestead on an Ubuntu Linux host you might get a complaint that your machine does not support NFS when trying to run vagrant up for the first time. To fix this, you need to install the nfs-common and nfs-kernel-server packages on your host system. $ sudo...

Tags: laravel, homestead, nfs, ubuntu

Laravel Tests, SQLite and “no such column” errors

I ran into a frustrating issue today while trying to run PHPUnit tests on a Laravel project I’m working on. Essentially, I was getting PDOException messages saying things like no such column. Looking through the stack trace, the issue seemed to have something to do with the Illu...

Tags: php, laravel, sqlite, testing, migrations