© 2026 Hashnode
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...

When working with enums in C#, we usually think of them as a list of distinct values. However, there are situations where a variable should represent a combination of multiple enum values at the same time — for example, user permissions, file access ...

For many Rustaceans, zero-side type is an underappreciated notion. We'll see its lustre. A type of struct with no fields : The contemporary type system in Rust Many of the positive aspects of older languages have been incorporated into Rust, a con...

Enums are a powerful feature in Laravel that help maintain clean and expressive code. However, when working with enums in Blade templates, it is important to understand how to handle them correctly to avoid unexpected behavior. In this post, we will ...
