Category results for: Development

Posted on , Development

Using a private Composer package with Laravel and Docker.

Updated February 2025, removing the deprecated authentication method. Developing packages for use with laravel is reasonably straightforward. But we don’t always want to make our code publicly available on Packagist. Adding a custom repository to your composer.json file will allow us to pull code straight from your Github account rather than Packagist. It’s common practice…

Posted on , Development

Problems connecting your WordPress site to Jetpack.

XML-RPC server accepts POST requests only

After setting up a fresh install of WordPress on my new Digital Ocean box with PHP 7.0 I had a few issues reconnecting my Jetpack accounts. I got the error XML-RPC server accepts POST requests only and after doing some research found out it’s caused by a missing PHP extension for XML that handles Dom…

Posted on , Development

Full control over WordPress menus.

Sometimes you just need 100% control over your WordPress menus.

Calling wp_nav_menu() directly has its place, but typically your walker function that might generate a Bootstrap compatible main menu might not be ideal for a footer, location selection, or sidebar link list. Using wp_get_nav_menu_items() will give us access to every part of the menu object. Title, Link, Class name, and window location. Don’t forget to…

Posted on , Development

Simple Cache buster for Laravel

Caching busting with Laravel is super simple. It comes with something called Mix ( or Elixer ) that handles front-end processing. Unfortunately, my front-end requirements have some specific needs that prevent me from taking advantage of Mix. The site uses Docker and is also behind a proxy cache so there wasn’t a simple way that…

Posted on , Development

Working with Less and Chrome’s developer tools

I feel like workflows have gone out of control and become overly complex. I am always looking for ways to simplify my workflow, not just because I don’t need the complexity but because I work on many projects at once and in a team. I will use an IDE for my editor, Sorry sublime you don’t…

Posted on , Development

PHP Event API

A simple Event API with Event chaining and Triggers.

Events I tried a couple of existing plugin solutions most did 95% of what I needed and the other 5% was next to impossible to force. After wasting days I decided I would write my own, what follows is an overview of Tentacle event API. Contact me if you have any questions. Registering an event:…

Posted on , Design

Custom Instagram gallery

I have been taking photos for years, I used to post a lot on Flickr and then something happened.

I had kids and things got busy, and I started to shoot a lot less with my DLSR. I still shoot from time to time. But I now have a multi-year backlog of photos to process. I still get out and about and love to take photos. I just do it whit my LG G4 rather…

Posted on , Development

Hub

Hub is a command-line wrapper for git that makes you better at GitHub.

Hub makes Git better with GitHub Get Hub NOW!

Posted on , Development

Speed up your Composer installs

Prestissimo comes to the rescue.

Starting a new project can be exciting until you create your new project. Now sit back and wait a few minutes. Rerunning the first command with Prestissimo dropped my install time from about 75 seconds to around 21 seconds.

Posted on , Development

Using WordPress with Lumen

Lumen, WordPress, Python, and Django. Oh My!

At work, I needed a fast and flexible way to present structured data that can be consumed by Python. This was done using WordPress leveraging Custom Post Types and Advanced Custom Fields. Simply put. WordPress is the admin interface. To present the data I chose to use Laravel 5.0 and It took about an hour…

Posted on , Development

Laravel and Clockwork

Laravel has been one of the few new tools that have truly inspired me to create. I never went to school for “computer science” and am self-taught when it comes to web development. I tend to take a common-sense approach to problems and thus far have solved some decently complex problems and learned from them….

Posted on , Development

Setup MAMP 3.0.7 and PHP 5.6.1 with Laravel

Solving the MAMP php 5.6.1 php.ini configuration error.

I recently updated my MacBook Pro to OSX 10.10 Yosemite and unlike my work computer, I had some issues. I decided to also upgrade MAMP while I was at it to version 3.0.7 and this fixed the issue I was having but also caused some other issues with Command-line PHP. Once I confirmed that the…

Posted on , Development

Laravel Tinker ( Boris ) + MAMP + OS X Yosemite

How to get Redline and PCNTL working with MAMP on OS X 10.10 Yosemite

I like to use MAMP for my local development mostly because it’s fast and simple to use. I came across an issue while attempting to use Laravels Tinker feature that is based off Boris. I did some searching and found out that it had to do with the fact that MAMP does not include the…

Posted on , Development

OSX Command line MAMP for use with Laravel and Composer.

I love OSX, but I always hated setting up a new system. OSX does little to empower developers out of the box.

I love OSX, but I always hated setting up a new system. OSX does very little to empower developers these days. I know I could use Docker or some VM to run my development but I have never had issues syncing my local development with my server environment. I feel like a lot of those…

Posted on , Archived

How I monitor my VPS for free!

Home made server monitoring with SMS alerts.

As I have moved over to a VPS server in the past 6 months I have run up against the paranoia of “is my server still running?” I had been using pingdom.com, a great service that pings a site every couple of minutes and notifies you of an outage. This was great when I was on a…