Dependency Injection in PHP

Dependency injection is a software design pattern that implements the inversion of a control concept for resolving dependencies. According to this concept, a class should not configure its dependencies statically, but should be configured from the outside. Learn about Dependency Injection and the main PHP containers/frameworks used in working with PHP.

Posted on: 30 January 2017 | 1:47 pm

Integrate Mailchimp Newsletter Subscriptions with PHP

This tutorial discusses how to integrate MailChimp, one of the most popular mailing list services with PHP.

Posted on: 20 December 2016 | 4:54 am

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