PHP 8.1
1 Questions
4 Total Posts
0 Snippets
posts
PHP-CS-Fixer: The Ultimate Guide to PHP Code Formatting in VSCode
In this comprehensive guide, we will explore how to use PHP-CS-Fixer in VSCode to automate the process of PHP code formatting and adhere to the best coding practices.
0
0
2899
What is the difference between classes vs enums in PHP 8.1?
One of the common questions that I have been asked is what is the difference between classes and enums. Class(es) and enum(s) share many similarities but differ in some aspects. (...)
0
0
1597
How to use the enumerations(Enums) of PHP 8.1 in Laravel?
The release of PHP 8.1 brings native enumerations to PHP. There is no more requirement for custom solutions in your Laravel projects since the Laravel v8.69 release has you back. (...)
0
0
6556
What is Enumerations(Enums) in PHP 8.1? Enums in PHP v8.1 Explained in detail with examples.
PHP 8.1 added many new features, and Enumerations (Enum) is our favourite new feature. Enumerations (or enums for short) allow us to define a new structure similar to a class however (...)
0
0
5631