PHP
In this comprehensive comparison, explore the key differences and similarities between Laravel and CodeIgniter, two popular PHP frameworks.
Learn about the Laravel PHP framework, exploring its history, its purpose, and some of its key components and features.
We cover the most popular PHP string functions and provide simple examples.
Learn the basics of what arrays in PHP are, how they work, some of the basic syntax and the different types of indexes available.
Learn how to create a powerful, efficient and secure login system for you website with PHP in five easy steps.
Learn about the different ways to get the current date and time in PHP and some additional considerations when working with time in PHP.
Learn how caching improves app performance and how to implement it in PHP through output buffering, caching functions, and database storage.
Learn the basics of exceptions in PHP, how to use throw, try and catch effectively, and how to write your own custom exceptions.
Learn some simple functions in PHP for trimming whitespace from strings, when you might need to use them, and a pitfall to watch out for.
Learn how to hash a password in PHP using the password_hash() function, why hashing is important, and how hashing differs from encryption.
Learn how to check if a variable is set in PHP, what its values are, and the differences between the isset, is_null, and empty methods.
Learn the basics of timezone usage in PHP, and how to make the best choice of the comprehensive range of functions PHP offers.
In this quick tip on PHP error reporting, we review the tools in PHP for handling errors in a controlled way to save hours of debugging.
Learn about the three basic, native PHP functions for quickly opening a local file, reading data from it, or writing data to it.
Learn the difference between PHP validation and sanitization and how to use filter functions, to ensure your PHP apps are reliable and secure.
Looking for tips on how to install PHP on Windows? We walk through how to install PHP 8.2 and Apache 2.4 on Windows 10 or 11 (64-bit).
It's important to consider the security of the applications you build. Learn about the current top ten security vulnerabilities for web apps.
Learn the fundamentals of PHP with books geared for PHP developers. We explore a list of the best PHP books in 2022 and beyond.
Dive into the fundamentals of PHP frameworks and which are the best PHP frameworks for you.
Learn how to take information stored in a MySQL database and display it on a web page for all to see.
Learn what a database is, and how to work with your own databases using Structured Query Language (SQL).
Learn the basics of how PHP works, including statements, variables, operators, comments, and control structures.
Learn how to set up a development environment by installing PHP 8 and MySQL using Docker, which is the best option for your dev environment.
Learn what higher-order functions are, how they work, why you might need them, and what they look like in PHP, JavaScript and Python.
APIs can easily become overcomplicated and slow. Learn how to develop a pipeline that's easy to expand later without obscuring the main flow.
Need to authenticate requests to a server? Learn what JWTs are and how to use them instead of sessions to authenticate your users via API calls.
There are so many ways to set up your PHP development environment, but using Docker is the current best practice. Let's walk through it.
Attention Laravel lovers! The Livewire framewor can help you build awesome, dynamic interfaces without writing lots of JavaScript.
Need to collect data through a web form? Learn the basics of how to set up PHP to collect user-submitted data that you can then store or send via email.
Learn how to add a custom field to a Flarum user account. Users will be able to set this custom field from their profile page, and admins will be able to edit it too.