Shortdark Web Development

Tagged with "PHP"

17 items

Case Study: Composer Package 30 August, 2021

This is a look at a composer package that returns an SVG graph from an array of data: shortdark/socket composer package. There may be better…

Learning a new Coding Language 13 June, 2021

When I learn a new language, or write something in a language I don't use very often, there are a few ways to go about it. I guess, often we…

About Shortdark 01 January, 2021

I am a web developer living in Sheffield, UK who has mainly been developing websites in PHP. My Career Timeline 1999 Taught myself HTML and…

PHP Coding Style (More Than One Way to Skin a Cat) 29 November, 2020

I look up everything before I use it. An IDE such as PHP Storm has the PHP docs built in so can tell you a lot of the information you need…

Javascript CSS Accordion 22 December, 2019

I was having trouble finding a WordPress plugin that would give me an Accordion on a particular WordPress website. Either jQuery was not in…

Updating Headers for Extra Security 02 June, 2019

In this post, we looked at some ways to tighten up security and increase the speed of websites in modern times. How to Implement Security…

Creating a Composer Package Tutorial 21 April, 2019

This is a simple step-by-step guide to making a PHP composer package that can be listed publicly on packagist.org for anyone in the world to…

Interacting with S3 using PHP 09 February, 2019

Trying to connect to use AWS S3 for the first time can be confusing. Here is a quick guide to roughly what has to happen. Basic Steps to Set…

Apache to Nginx 27 January, 2019

I had a PHP website that was the last man standing on some shared hosting that was slow that didn't have SSH access. I decided that since I…

Trying AWS Lightsail 13 January, 2019

AWS Lightsail is the closest thing AWS has to shared hosting. It is their quick, easy and inexpensive off-the-shelf hosting that has SSH…

Upgrading from Debian 8 (Jessie) to Debian 9 (Stretch) 14 March, 2018

Previously, I looked at setting up Debian 8 with PHP 7.0. But now, Debian 9 is the current stable version and Debian 8 is only due to…

Installing Laravel on Debian 8 with PHP 7.0 12 April, 2017

I was unable to find a single tutorial that would show exactly how to install Laravel on Debian, possibly because I was using PHP 7.0 on…

Setting up a Linux Webserver with SSH in 20 Steps (Debian 8) 19 March, 2017

Here is a guide to Setting up a Linux Webserver with SSH. This is for Debian 8 (Jessie) although other versions of Debian will be similar…

How to write a WordPress Plugin 05 October, 2016

There are 1,000s of WordPress Plugins and each one is individual, but for anyone wanting to make a plugin for themselves here are a few…

Post Volume Stats 15 September, 2016

Post Volume Stats Wordpress plugin, "Post Volume Stats", is free to download here. It is a plugin to show the user's posting patterns - from…

Add Target Fixer 14 September, 2016

This is currently a very simple plugin that solves the target="_blank" vulnerability, which is a security risk in that it allows phishing to…

Projects 30 July, 2016

You can see my public git repos at my GitHub profile. Some of My Test Websites Here are some websites I've set up at various points as part…