laravel-enum
Simple, extensible and powerful enumeration implementation for Laravel. (by BenSampo)
enum-concern
A PHP package for effortless Enumeration handling with Laravel Collections 📦 ✨ (by emreyarligan)
laravel-enum | enum-concern | |
---|---|---|
3 | 1 | |
1,978 | 206 | |
- | - | |
6.9 | 6.5 | |
2 months ago | about 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.
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.
laravel-enum
Posts with mentions or reviews of laravel-enum.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-02-08.
-
How to Use Laravel Rules
Suppose we have a Permission enum in our Laravel project, and when an admin assigns a permission to a user, we need to verify if the permission is valid. To accomplish this, we'll create the Permission enum using BenSampo/laravel-enum package:
-
Laravel enum tips!!
About Laravel Enum
-
Suggestions for improvement to lookup table
I use this laravel-enum package, Spatie has one that I'm sure is great as well. Have you checked out how they do things to see if there are any takeaways? They're a different approach because the list of enums aren't stored in the database, which I really like because it means I can get the enum types and values autocompleted in my IDE. There are also some convenient features like attribute casting and validation rules.
enum-concern
Posts with mentions or reviews of enum-concern.
We have used some of these posts to build our list of alternatives
and similar projects.
-
EnumConcern package
EnumConcern is a PHP package designed to simplify the handling of PHP's Enum feature by providing a set of convenient methods. It includes a Trait file that facilitates the management of Enums. The package is powered by Laravel Collections for a more user-friendly experience. https://github.com/emreyarligan/enum-concern
What are some alternatives?
When comparing laravel-enum and enum-concern you can also consider the following projects:
sushi - Eloquent's missing "array" driver.
laravel-messenger - Simple user messaging package for Laravel
php-enum - Simple and fast implementation of enumerations with native PHP
enum - Strongly typed enums in PHP supporting autocompletion and refactoring
enum - 🎲 Zero-dependencies PHP library to supercharge enum functionalities.
laravel-mysql-spatial - MySQL Spatial Data Extension integration with Laravel.
laravel-packager - A cli tool for creating Laravel packages
laravel-fpdf - Create PDFs with Laravel, provides FPDF version 1.86
artisan-view - 👀 Manage your views in Laravel projects through artisan
bouncer - Laravel Eloquent roles and abilities.
laravel-totem - Manage Your Laravel Schedule From A Web Dashboard
laravel-enum vs sushi
enum-concern vs laravel-messenger
laravel-enum vs php-enum
enum-concern vs php-enum
laravel-enum vs enum
enum-concern vs enum
laravel-enum vs laravel-mysql-spatial
enum-concern vs laravel-packager
laravel-enum vs laravel-fpdf
enum-concern vs artisan-view
laravel-enum vs bouncer
enum-concern vs laravel-totem