Home » PHP


How to create a Google Drive App in PHP

This is the second article in the drive series for web programmers that aims to explain how to use the Google Drive API in your web applications to access files/folders on behalf of your logged-in users. One of the basic tasks here is to authenticate to google and access the drive on the user’s behalf once they grant permission to ...

Read More »

Read Environment Variables in Appropriate PHP Type

You probably get your environment variables using built-in PHP functions such as getenv or $_ENV. But did you know that you can do it in an elegant way, getting an environment variable’s value in the proper PHP data type with a powerful library? If you’re curious, read on about how this energetic library can help you in your daily development ...

Read More »

Incremental Software Development with PHP Microservices

Building complex software projects is almost always an iterative process. We rarely get to spend months designing and writing a complete project before releasing something to our users. This process of incremental software development can be accomplished in many ways, but one of my favorite strategies has been through microservices. I won’t cover microservices in depth as they’ve been covered ...

Read More »

PHP Xmlencoder & Xmldecoder Example

In this example we are going to learn how to encode and decode XML (Extensible Markup Language) with PHP. For this example we will use: A computer with PHP >= 5.5 installed notepad++ 1. What Is XML XML (Extensible Markup Language) is a markup language like html. It is a syntax for creating data representation languages. XML was designed to ...

Read More »

PHP Uppercase And Lowercase Example

In this example we will show you how to manipulate strings from uppercase to lowercase and from lowercase to uppercase with PHP. This is neccesary when you need to format text. For this example we will use: A computer with PHP >= 5.5 installed notepad++ 1. Getting Started Changing text from uppercase to lowercase or from lowercase to uppercase can become necessary ...

Read More »

PHP Qr Code Generator Example

QR codes is an abbreviation for quick response code. It was first designed for the automotive industry in Japan. A QR code consists of black squares arranged in a square grid on a white background. QR codes is used to store information or data. Data stored with QR codes can be read with a smart mobile device. In this example ...

Read More »

PHP Number Format Example

Sometimes it can be neccessary to display a nicely formatted number on a webpage, instead of an ugly and hard to understand number. For example 234,654.49 is way more beautiful and easier to comprehend than 234654.49876. This is where number formating comes in. In this example we shall discuss number formatting in PHP. For this example we will use: A ...

Read More »

Setting Up and Deploying a Modern PHP Application

Despite widespread adoption, PHP has long received criticism for being inconsistent and encouraging questionable development practices. That said, millions of developers use PHP regularly, and many of them are making real software that solves real business needs, so it’s important that we understand how to use the language and deploy it in a modern environment. Why PHP? First, let’s discuss ...

Read More »

PHP Json Encode And Decode Example

Json is an abbreviation for JavaScript Object Notation. It is a lightweight format that is used for data interchanging. It is based on a subset of JavaScript language (the way objects are built in JavaScript). In this example we will create a simple or trivial web app that shows us how to manipulate Json with PHP( Encode and decode Json ...

Read More »

Want to take your WEB dev skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • PHP Programming Cookbook
  • jQuery Programming Cookbook
  • Bootstrap Programming Cookbook
  • Building WEB Apps with Node.js
  • CSS Programming Cookbook
  • HTML5 Programming Cookbook
  • AngularJS Programming Cookbook