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.
Channels from Pusher is a platform that allows you to give your apps seamless real-time data.
If you want to get started coding your own plugins for WordPress, try our new course, 3 Practical Projects to Learn to Code WordPress Plugins. You’ll learn by completing practical projects, so not only will you learn a lot about coding plugins, but you’ll also end up with some useful, functional WordPress plugins!
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.
Our new short course is ideal for you if you want to take your WordPress development skills to the next level. Try out Coding Advanced WordPress Theme Templates, or read on and watch the intro video below for more details.
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.