Put your PHP8+ project on a diet by reducing total number of boilerplate code.
-
Updated
Jan 8, 2026 - PHP
Put your PHP8+ project on a diet by reducing total number of boilerplate code.
Python style decorator for PHP
Extensible data mapper to objects, DTOs, enums, collections, Eloquent models, etc
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.
Advanced Meilisearch integration with Laravel Scout
Bridge Laravel resources to deterministic TypeScript types.
A reusable Laravel 10+ package that lets you annotate any service method with a PHP attribute to collect custom telemetry (e.g. user counts, disk usage, feature flags) and automatically report it—at configurable intervals—to a central server over HTTP.
🛣️ configure routes using PHP8 attributes, support for reverse routing, before and after middlewares and more
Handling PHP Attributes by spiral/attributes
A Laravel package enabling the use of native PHP attributes for defining and managing Eloquent model attribute casts.
Leveraging Attributes With Respect\Validation and Laravel
Automatic Doctrine ORM timestamps using PHP attributes and Symfony Clock. Drop #[CreateTimestamp] / #[UpdateTimestamp] on any entity property — no interfaces needed.
Provides mechanisms for attribute objects to know about the symbol they are attached to.
A powerful static utility class for PHP reflection operations with built-in caching and advanced metadata (attributes) handling. Provides convenient methods for working with PHP 8+ attributes and reflection objects.
[READ-ONLY] Register WordPress hooks, filters and shortcodes with PHP Attributes into Lumberjack
Learn Attribute on PHP 8 by creating simple http handling (mvc, api).
Plugin all-in-one to enable awesome WordPress features
A Laravel package to define routes using attributes
Integrate enum based statuses to Laravel models
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."