Document Your API with ApiDoc

ApiDoc is a tool that automatically creates documentation for your RESTful API. It is available for multiple languages, including PHP, Java, C#, JavaScript, Python, Perl, Ruby, Erlang, Elixir and CoffeeScript.

Posted on: 31 August 2016 | 9:54 am

Configure MailCatcher with Laravel

Using MailCatcher with PHP/Laravel allows a developer to view sent mails and verify application mail functionality while excluding external factors such as mail servers.

Posted on: 15 August 2016 | 3:25 pm

Implementing PHP Collection Classes

This article will show you how to create a Collection class using different types of methods used to manipulate arrays and we will apply the Reflection mechanism over this class.

Posted on: 29 July 2016 | 11:47 am

Expression Engine from a Laravel Developers Perspective

Recently, Justin delved into CMS development, specifically Expression Engine (EE) development, after being predominantly a Laravel developer for the past few years. He liked some things about EE and disliked others, but can see where a tool such as EE can be leveraged to build very customizable Web sites, and even Web applications that non-developers are able to configure and maintain.

Posted on: 15 July 2016 | 4:22 am

Programmatically Create Sample Testing Data in PHP

Since quality assurance takes a significant amount of project time and resources, we are always looking for ways to improve its efficiency. One testing process improvement is to programmatically create sample testing data. To achieve this, we will use a popular PHP library called Faker.

Posted on: 30 June 2016 | 3:23 pm

Using AngularJS 2 in PHP via PrimeNG UI Components

Learn how to use AngularJS 2 in PHP via the PrimeNG UI components. First we need to create an AngularJS 2 application from the beginning and then we will create a project. Finally, we will run the project.

Posted on: 17 June 2016 | 3:29 pm

Using Doctrine ORM with Symfony PHP Framework, Part 2

The standard edition of Symfony PHP framework comes integrated with Doctrine, an object-relational mapper (ORM) and a database abstraction layer (DBAL) which makes working with databases very easy. This tutorial will focus on using Doctrine in Symfony--querying object relationships.

Posted on: 31 May 2016 | 4:03 pm

Using Doctrine ORM with Symfony PHP Framework

The standard edition of Symfony PHP framework comes integrated with Doctrine, an object-relational mapper (ORM) and a database abstraction layer (DBAL) which makes working with databases very easy. This tutorial will focus on using Doctrine in Symfony--how to create models of database tables and its relations, how to query the data, and more.

Posted on: 18 May 2016 | 12:02 pm

Combining WebComponents with PHP via PrimeElements

PrimeElements can drastically reduce the amount of work required to create nice looking and functional UIs by providing a rapid application development kit based on standard Web Components technologies. Learn more about some of the most practical PrimeElements in PHP.

Posted on: 30 April 2016 | 12:19 am

E-mail Verification in PHP

One of the most common security features during the user registration process is e-mail verification. It is important to create it according to industry best practices in order to avoid potential security risks. Let's discuss these best practices and see how to create e-mail verification in PHP.

Posted on: 18 April 2016 | 4:36 am

Working with Docker and PHP

Docker is an open-source project that automates the deployment of applications inside software containers, by providing an additional layer of abstraction and automation of operating-system-level virtualization on Linux. Learn how to install Docker on Windows, how to create a machine, how to pull/push an image from/to Docker Hub--and mostly importantly--how to run a PHP script by creating our Dockerfile file.

Posted on: 31 March 2016 | 3:15 pm

Read CSV Data into a PHP Array

CSV files are often employed to import data from an application such as MS Excel into a database. Rob Gravelle demonstrates how to write a PHP script that reads in a CSV file and converts its contents into a multi-dimensional array for insertion into a WordPress database.

Posted on: 17 March 2016 | 3:11 am

Creating and Editing Excel Spreadsheets in PHP

To create or edit Excel spreadsheets using pure PHP, we will use the PHPExcel library, which can read and write many spreadsheet formats, including xls, xlsx, ods and csv. Before we continue, double-check that you have PHP 5.2 or higher on your server and that the following PHP extensions are installed: php_zip, php_xml and php_gd2.

Posted on: 23 February 2016 | 11:10 am

Most Secure Password Encryption Methods in PHP

The security of sensitive information such as login credentials of an employee is a topic which has always been addressed in every programming language. Learn more password encryption with the most common methods of passwords protection in PHP.

Posted on: 12 February 2016 | 12:54 pm

Top 4 Web Server Administration Tips

Server administration is a very complicated job. It involves a Linux operating system, web server, database server, FTP and e-mail servers along with other software that can sometimes cause very unusual bugs and problems. Explore the fixes to a few PHP-related server problems.

Posted on: 31 January 2016 | 8:14 pm

Using the WideImage Library in PHP

WideImage is an object-oriented library for image manipulation that provides a simple way of loading, manipulating and saving images in the most common image formats.

Posted on: 22 January 2016 | 3:57 pm

Resize and Crop GIF Animations in PHP

When resizing and cropping images, many popular PHP packages break the GIF animation and save it as a static image. However, it is possible to resize and crop image while keeping the animation intact. In PHP, this can be achieved by using the ImageMagick extension.

Posted on: 28 December 2015 | 4:58 am

Tips for Using Session Cookies with PHP

A session cookie, also known as an in-memory cookie or transient cookie, exists only in temporary memory while the user navigates the website. Web browsers normally delete session cookies when the user closes the browser. Unlike other cookies, session cookies do not have an expiration date assigned to them, which is how the browser knows to treat them as session cookies.

Posted on: 11 December 2015 | 12:23 pm

Object Oriented Programming in PHP - Then and Now

The original development began around 1994, but PHP as most people know it (PHP3) was originally released in 1998. Twenty one years ago. TWENTY ONE YEARS. That kind of lifespan for anything on the web is pretty impressive.

Posted on: 27 November 2015 | 3:14 pm