How to Autoload Classes With Composer in PHP

In this article, we’ll discuss the basics of autoloading in PHP and how to autoload PHP classes with Composer. I’ll explain why autoloading is so important and show you how to use Composer for autoloading step by step. I’ll also explain the difference between the different kinds of autoloading in Composer. Why Do We Need… Continue reading How to Autoload Classes With Composer in PHP

What Is Composer for PHP and How to Install It

Today, we’re going to discuss one of the most important tools in PHP: the dependency manager Composer. In this article, we’ll look at the ins and outs of Composer and how to install it and use it in your day-to-day PHP development.  If you’ve been coding in PHP for some time, you’ll be aware of how PHP libraries… Continue reading What Is Composer for PHP and How to Install It

Create a Google Login Page in PHP

In this article, I’m going to explain how to integrate Google Login in your PHP website. We’ll use the Google OAuth API which is an easy and powerful way to add Google Login to your site. As a web user, you’ve probably experienced the hassle of managing different accounts for different sites. Specifically, when you have… Continue reading Create a Google Login Page in PHP

Using Laravel Valet for WordPress Development

If you’re familiar with the PHP community, then you’re likely familiar with a number of the different applications and frameworks that are currently popular in the development space today. One of the more common frameworks that we’re seeing used to build web applications is Laravel. Though this tutorial is not specifically about Laravel, I recommend checking… Continue reading Using Laravel Valet for WordPress Development

WP REST API: Setting Up and Using OAuth 1.0a Authentication

In the previous part of the series, we set up basic HTTP authentication on the server by installing the plugin available on GitHub by the WP REST API team. The basic authentication method allows us to send authenticated requests by sending login credentials in the request header. While being quick and handy, there’s also a… Continue reading WP REST API: Setting Up and Using OAuth 1.0a Authentication

Visual Composer – Build WordPress Websites in Minutes

It is a real challenge for WordPress beginners to figure out how to build an attractive and functional website without having coding knowledge and experience. Often business owners end up hiring someone to do the advanced page setups for them as trying to get it done on their own would take too much time and… Continue reading Visual Composer – Build WordPress Websites in Minutes

Better Workflow in PHP With Composer, Namespacing, and PHPUnit

In this video tutorial, we’ll again focus on workflow. Specifically, we’ll use Composer’s built-in autoloading capabilities, along with namespacing, to make for an elegant testing experience. We’ll also review a handful of PHPUnit best practices, as we get setup with these tools. Download – Source files Nettuts+