attributary VS php-enum

Compare attributary vs php-enum and see what are their differences.

attributary

A library for PHP 8 Attribute developers. This library gives developers a similar experience to the Doctrine/Annotation library. (by cnizzardini)

php-enum

The enum PHP is missing, inspired from SplEnum (by myclabs)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
attributary php-enum
3 2
1 2,709
- 0.2%
5.6 3.2
over 2 years ago 2 months ago
PHP PHP
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

attributary

Posts with mentions or reviews of attributary. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-23.

php-enum

Posts with mentions or reviews of php-enum. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-17.
  • Weekly "ask anything" thread
    2 projects | /r/PHP | 17 Aug 2021
    My understanding of the new PHP enums are that they provide a first-class citizen for enum patterns in userland that are extremely common. For example, there is a popular enum library https://github.com/myclabs/php-enum. But many people craft these by hand in their projects. The main idea is to provide an abstraction over "strings that inform business logic" for lack of a better term.
  • My opinion on the PHP 8.1 Enum RFC
    1 project | dev.to | 30 Jan 2021
    This feature alone would likely cause me to drop myclabs/php-enum as my enum implementation.

What are some alternatives?

When comparing attributary and php-enum you can also consider the following projects:

laravel-route-attributes - Use PHP 8 attributes to register routes in a Laravel app

php-enum - Simple and fast implementation of enumerations with native PHP

laravel-attributes - ⚠️ [ABANDONED] Rinvex Attributable is a robust, intelligent, and integrated Entity-Attribute-Value model (EAV) implementation for Laravel Eloquent, with powerful underlying for managing entity attributes implicitly as relations with ease. It utilizes the power of Laravel Eloquent, with smooth and seamless integration.

laravel-enum - Simple, extensible and powerful enumeration implementation for Laravel.

Koriym.Attributes - A reader can read both doctrine/annotations and PHP8 attributes with a doctrine annotation interface.

enum - Strongly typed enums in PHP supporting autocompletion and refactoring

framework-extra-bundle - Attributes for request/response operations, content negotiation, and more for Symfony projects.

php-ddd-example - 🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 6

FreeScout - FreeScout — Free self-hosted help desk & shared mailbox (Zendesk / Help Scout alternative)