Creating a REST API in Symfony 3

Nowadays, Web applications are not simply displaying data, they are also integrating with other applications and combining the information and functionalities. A common way to enable easy communication between different applications is the REST API. Let's see how to achieve that with the Symfony 3 PHP framework.

Posted on: 29 November 2016 | 1:13 pm

Integrate Bitcoin Payments with PHP

As the usage of Bitcoin as a payment method is growing, many companies have started accepting payments in this virtual currency. More than 100,000 companies are currently accepting Bitcoin (some of them are large and well-known, such as Microsoft and Dell), making it the most popular virtual currency. Let's see how it works and how to accept payments in Bitcoins in your Web application.

Posted on: 27 October 2016 | 1:03 pm

Integrate a Stripe Payment Gateway with PHP

Stripe is a payment gateway that is becoming increasingly popular in the Web industry. It offers payment processing services, which can be easily integrated into your Web application using the Stripe API.

Posted on: 15 September 2016 | 12:11 pm

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