---
title: "Discussion on \"PHP 8.1 Enums: Backed Enums and Laravel Eloquent Casts\" | Hashnode"
description: "Discussion on \"PHP 8.1 Enums: Backed Enums and Laravel Eloquent Casts\". PHP 8.1 Enums: Backed Enums and Laravel Eloquent Casts\nPHP enums landed in version 8.1, and they've quietly become one of the most adopted features across the ecosystem. With 85.9% of Packagist users now running PHP 8.x (Stitcher.io, June 2026), ther..."
url: "https://hashnode.com/posts/php-81-enums-backed-enums-and-laravel-eloquent-casts/69c849b97780190b9b62ae4f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [PHP 8.1 Enums: Backed Enums and Laravel Eloquent Casts](https://nishilbhave.hashnode.dev/php-81-enums-backed-enums-and-laravel-eloquent-casts?utm_source=hashnode&utm_medium=feed)

PHP 8.1 Enums: Backed Enums and Laravel Eloquent Casts PHP enums landed in version 8.1, and they've quietly become one of the most adopted features across the ecosystem. With 85.9% of Packagist users now running PHP 8.x (Stitcher.io, June 2026), ther...

Mar 28 · 17 min read · nishilbhave.hashnode.dev  
Updated May 8  
Read the article

-   [#eloquent](https://hashnode.com/tag/eloquent)
-   [#enums](https://hashnode.com/tag/enums)
-   [#laravel](https://hashnode.com/tag/laravel)
-   [#php](https://hashnode.com/tag/php)
-   [#php-81](https://hashnode.com/tag/php-81)

## Written by

[Nishil Bhave](https://hashnode.com/@nishilbhave)

@nishilbhave · Mumbai, India

  
[View profile](https://hashnode.com/@nishilbhave)

Code. Ship. Write. Repeat.

Full-stack engineer writing about AI agents, SaaS strategy, backend infrastructure, and the developer journey. I build things and break down what I learn along the way.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
