Web Development Blog

Latest from Rapid Web

Search for:

Get Country Code in PHP, with PHP Countries

By Jordan Hall 14th February 2018


Country information is used so frequently in modern web development. This is especially true in customer relationship managements systems and e-commerce websites. Since we do a lot of e-commerce and CRM development here at Rapid Web Services, we developed an open source library to easily retrieve country information. The rest of this post will detail how you can use this library, PHP Countries, and what it is capable of. Installation To inst...

Read Article

Get UK Bank Holidays in PHP

By Jordan Hall 3rd November 2017


If you've ever needed to display opening times for a business on their website you'll probably have encountered the edge case of differing opening times on UK Bank Holidays. The UK government provides information regarding all UK Bank Holidays, and we've written a small open-source PHP library to take advantage of this. Installation You can install the PHP UK Bank Holidays package using Composer. If you've never used Composer before, you can fi...

Read Article

Updating Laravel from v5.1 to v5.5

By Andrew McDonald 12th October 2017


So the new long-term support version of Laravel has been released taking us from the last long-term support version v5.1 to v5.5 with all the improvements that brings, however while there is plenty of guides around for upgrading from v5.4 to v5.5 there are none for upgrading from v5.1 straight to v5.5 unless you painstakingly upgrade to every version in between. But don't worry I have already been doing the upgrades to our current projects in ho...

Read Article

How to migrate data from one database to another (with UXDM)

By Jordan Hall 17th August 2017


This article is aimed at developers looking to migrate existing data from one database schema to another. It should be very useful if you are planning to move from one system to another, such as moving from Drupal to WordPress, or wishing to migrate external data into a new bespoke system. The UXDM (Universal Extensible Data Migrator) is an open source PHP library we have created to simplify the process of moving data from any source to any dest...

Read Article

Testing In Laravel Part 2

By Andrew McDonald 10th May 2017


In my last post, Testing In Laravel, I spoke about the importance of functionality testing during large scale projects and how we can achieve this via the tools that come packaged with Laravel. In that post I gave an example of a very simple Laravel test, where it will click a link and see if the page is redirected to a login page. In this part we will create a test for the actual submission of a form and test both an instance of a failure ...

Read Article

Creating Custom Post Types in WordPress

By David Foley 5th May 2017


Custom post types are the same as a basic post type that are already present in WordPress. However, the beauty of custom post types is that you can tweak them to your individual needs, allowing for great customisation. Custom post types are perfect for those projects where the default post type just isn't up to the task. In this blog post, I will be going over how to create a simple custom post type in WordPress and then provide a number of ex...

Read Article

Rapid Web’s Open Source Contributions 2016 & 2017

By Jordan Hall 25th April 2017


At the beginning of last year, I posted about our open source contributions from 2015. Most of these projects focused on frontend web development. This time around, the majority of our new open sourced projects are backend code and libraries. They also include a small selection of 'Simple' libraries, designed to wrap around complex functionality and abstract it. Here's a summary of our main open source projects and contributions from 2016 &...

Read Article

Testing In Laravel

By Andrew McDonald 21st March 2017


The importance of functionality testing during large scale projects cannot be underestimated and is even more important while using version control. What happens if the lovely login process you have just completed suddenly stops working because another developer has inadvertently uploaded new functionality that, while not directly influencing your login process, has still caused it to break? One way to go about fixing this would be by testing ...

Read Article

Creating mail templates in WordPress and using Mailtrap to test and preview them

By David Foley 14th March 2017


If you're creating your own WordPress theme and you want to include functionality to enable users to send out emails, then you will need to set up a mail template. Before we get into creating a mail template, we need a way to test the mail functionality and a way to preview the created emails. Fortunately for us there's Mailtrap. Mailtrap is a fake SMTP server for development teams to test, view and share emails sent from the development a...

Read Article

Simple Stripe Payments Integration

By Jordan Hall 7th March 2017


To help developers easily implement the basics of Stripe into their website and quickly accept payments, we created the open source PHP library SimpleStripe. SimpleStripe SimpleStripe is a package that allows you to really quickly setup a payment form on a website and charge customers. As you probably guessed by its creative name, it makes use of the Stripe payments system. Although Stripe itself is already a very developer friendly ...

Read Article

Rapid Web’s Open Source Contributions 2015

By Jordan Hall 7th January 2016


In 2015, Rapid Web Services made a commitment to increase their contributions to the open source community. We therefore started several open source projects. This post will go over some of the most interesting open source contributions we made last year. Direct Share Buttons Including large amounts of external JavaScript and 3rd party code for all the various social media sites can be a pain. They can slow down the loading and rendering of you...

Read Article

PHP library for the Google Contacts API (v3)

By Jordan Hall 19th October 2015


Google Contacts PHP library We're happy to announce that we have recently open sourced a Google Contacts API PHP client library. This library is MIT licensed (so anyone can use it) and available on our GitHub account. For more information about Rapid Web Services Services open source efforts, please visit our Rapid Web Services open source mini-site. About This Google Contacts API library is designed for use in PHP frameworks and general PHP...

Read Article