Posts from the category 'Web Development'

WordPress Auth Driver for Laravel

laravel-wordpress
The WordPress Auth Driver for Laravel Composer package allows you to authenticate users in your Laravel application against an existing user table from a WordPress installation. The package exposes two Laravel service providers: WordPressAuthServiceProvider extends the auth driver with a new “wordpress” user provider. WordPressHashServiceProvider provides a new service “wordpress-hash” which hashes values using the same library that WordPress uses. …

Read More »

How to run composer commands on DeployHQ

deploy
DeployHQ is a great service for automating the deployment of code from source code repositories onto SSH, SFTP or cloud servers. When deploying applications which use Composer for dependency management, you often want to run Composer commands after deployment to install or update those dependencies. Fortunately, Deploy makes it easy to run SSH commands before and/or after deployment. For example, …

Read More »

Linode PHP Library Composer Package

Linode
I use Linode to host my VPS’s that run my websites and various other services online. I also use their DNS manager to host DNS services for the hundreds of domain names I own or manage for my clients. Many of my domains are duplicates from different Top Level Domains (TLDs), for example, I own hampelgroup.com, hampelgroup.net, hampelgroup.com.au, hampelgroup.net.au, etc. …

Read More »

Twitter PHP Library Composer Package

Twitter
My second Composer package is now available on Packagist. Bitbucket: Hampel Twitter Packagist: hampel/twitter This library is a PHP wrapper for the Twitter API and uses the Guzzle HTTP Client library rather than calling cURL directly. I do quite a lot of work integrating with online services via their APIs and so have used cURL quite extensively. I found myself …

Read More »

JSON PHP Library Composer Package

JSON
I’ve started working with Laravel 4 and am really enjoying the power of this PHP framework. Now that Laravel uses Composer┬ápackages, managing libraries and dependencies has become very simple – it solves so many of the problems I’ve struggled with in recent years when managing the components and libraries for the applications I build. I have built a few libraries …

Read More »

To _blank or not to _blank

html5
Browsing through old posts on my personal blog, I came across an entry about using target="_blank" in href tags in HTML to make links open in a new window when clicked. I had convinced myself that _blank was evil and swore never again would I force the user’s browser to open a new window when clicking a link. However, nearly …

Read More »

How to configure PEAR for Zend Server Community Edition on Windows 7

PEAR
I decided to try running Zend Server CE (PHP v5.3) for my local development environment on my Windows 7 (64-bit) machine. After discovering that I needed to explicitly choose to install MySQL and phpMyAdmin (simply fixed by running the installer again and modifying the installation), I found that the PEAR libraries some of my existing code relied on, was missing. …

Read More »

800×600 screens

laptop
When designing web pages, it is important to take into account the range of devices that people will be using to view your site with. Fortunately, almost nobody uses 640×480 resolution anymore – so there’s no point trying to cater for that as a minumum. Which is good – because that really is very small on a 1400×1050 resolution laptop …

Read More »

« 
 »