In this article, we’re going to explore the Symfony Filesystem component, which provides useful methods to interact with a file system. After installation and configuration, we’ll create a few real-world examples of how to use it.
The internet would be pretty dull without images. However, maintaining and manipulating hundreds or thousands of images for your web site can be a headache. As your site design changes, you might need to modify all your images—for example, you might need to convert all your images to grayscale or resize them to 50% of their original size. You might also want to compress or crop different images. Doing this manually is time-consuming and error-prone, but with a little programming knowledge it can be automated.
In this post, you’ll learn the basics of arrays in PHP. You’ll learn how to create an array and how to use associative and multidimensional arrays, and you’ll see lots of examples of arrays in action.
In this article, you’ll learn how to set up user authentication in PHP using the Symfony Security component. As well as authentication, I’ll show you how to use its role-based authorization, which you can extend according to your needs.
In this article, we’ll look at some examples of using the Symfony DependencyInjection component. You’ll learn the basics of dependency injection, which allows cleaner and more modular code, and you’ll see how to use it in your PHP application with the Symfony component.
In this article, we’re going to explore how you could create custom command-line interface (CLI) commands in your PHP applications using the Symfony Console component. After installing the necessary libraries, we’ll create a few handful of examples to demonstrate the concepts of the Console component.
Today, we’ll go through the Symfony Routing component, which allows you to set up routing in your PHP applications.
In this article, you’ll learn how to set up passwordless authentication using the Auth0 service. Auth0 allows you to outsource authentication features for your app.
Every now and then, developers need to scrape webpages to get some information from a website. For example, let’s say you are working on a personal project where you have to get geographical information about the capitals of different countries from Wikipedia. Entering this manually would take a lot of time. However, you can do it very quickly by scraping the Wikipedia page with the help of PHP. You will also be able to automatically parse the HTML to get specific information instead of going through the whole markup manually.
In this article, we’re going to explore the Auth0 service, which provides authentication and authorization as a service. Auth0 allows you to set up basic authentication and authorization features for your apps in the blink of an eye.
In this article, we’re going to explore the Swift Mailer library that allows you to send emails from PHP applications. Starting with installation and configuration, we’ll go through a real-world example that demonstrates various aspects of sending emails using the Swift Mailer library.
In this article, we’re going to explore the PhpFastCache library, which allows you to implement caching in your PHP applications. Thus, it helps to improve overall website performance and latency on page load times.
What are the WordPress PHP coding standards? In this video from my course, Learn PHP for WordPress, you’ll learn all about the coding standards and why they’re important.
For many,PHP is the lifeblood of web development.