PHPackages                             assegaiphp/attributes - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. assegaiphp/attributes

ActiveLibrary[Framework](/categories/framework)

assegaiphp/attributes
=====================

A small library defining the core attributes of the AssegaiPHP framework.

10.1(1y ago)0243↓75%[1 PRs](https://github.com/assegaiphp/attributes/pulls)3MITPHPPHP ^8.3

Since Feb 2Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/assegaiphp/attributes)[ Packagist](https://packagist.org/packages/assegaiphp/attributes)[ RSS](/packages/assegaiphp-attributes/feed)WikiDiscussions develop Synced 3w ago

READMEChangelog (3)Dependencies (2)Versions (6)Used By (3)

 [![Assegai Logo](https://camo.githubusercontent.com/d7dab2658d76e460e31be249de2fe5d420f7a7237eb9f2a315f83123632a3b6c/68747470733a2f2f617373656761697068702e636f6d2f696d616765732f6c6f676f732f6c6f676f2d63726f707065642e706e67)](https://assegaiphp.com/)

Core PHP attributes for AssegaiPHP applications.

Description
-----------

[](#description)

`assegaiphp/attributes` defines the framework-level metadata attributes shared across AssegaiPHP packages. It is intentionally small and dependency-light: the package only requires PHP 8.4 or newer.

This package is part of the AssegaiPHP 0.9 release line and is consumed by packages such as `assegaiphp/core`, `assegaiphp/common`, and `assegaiphp/auth` through the `^1.0` attributes line.

Installation
------------

[](#installation)

Install the package with Composer:

```
composer require assegaiphp/attributes:^1.0
```

Available Attributes
--------------------

[](#available-attributes)

### `Injectable`

[](#injectable)

Use `Injectable` to mark a class as available to the dependency injector.

```
