Handling PHP Attributes by spiral/attributes
-
Updated
Jul 9, 2024 - PHP
Handling PHP Attributes by spiral/attributes
Learn Attribute on PHP 8 by creating simple http handling (mvc, api).
🛣️ configure routes using PHP8 attributes, support for reverse routing, before and after middlewares and more
🗂️ map pure PHP objects to a database; configure entities with PHP8 attributes, intuitive relationship mapping
Filtering the desired model records using query string in Laravel app
In this tutorial, I will demonstrate how to utilize WordPress hooks with PHP attributes. Although it may not be necessary for every simple plugin, employing PHP attributes can be particularly useful in plugins with a large codebase.
[READ-ONLY] Register WordPress hooks, filters and shortcodes with PHP Attributes into Lumberjack
Put your PHP8+ project on a diet by reducing total number of boilerplate code.
Integrate enum based statuses to Laravel models
Python style decorator for PHP
Advanced Meilisearch integration with Laravel Scout
Integrate data transfer objects into Laravel, the easiest way
Add a description, image, and links to the php-attributes topic page so that developers can more easily learn about it.
To associate your repository with the php-attributes topic, visit your repo's landing page and select "manage topics."