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
A collection of attributes and their processors for PHP.
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
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
Provides mechanisms for attribute objects to know about the symbol they are attached to.
Automatic Doctrine ORM timestamps using PHP attributes and Symfony Clock. Drop #[CreateTimestamp] / #[UpdateTimestamp] on any entity property — no interfaces needed.
Monorepo for automatic OpenTelemetry tracing via the #[Traceable] attribute
Handling PHP Attributes by spiral/attributes
A Symfony 8+ bundle for Bootstrap-first business datatables driven by PHP definitions, Twig rendering and Stimulus Ajax updates.
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.
Learn Attribute on PHP 8 by creating simple http handling (mvc, api).
Plugin all-in-one to enable awesome WordPress features
[READ-ONLY] Register WordPress hooks, filters and shortcodes with PHP Attributes into Lumberjack
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."