by Richard DobroĊˆ

July 14th, 2022

fxp0vbeuuamzpfd.jpeg

How to generate PHP enums from database in Laravel?

A magic number is a configuration parameter typed as a number in the middle of some code. And that magic number is a bad thing. Using this library, you will fix the following code

Follow @LaravelMagazine on Twitter →

Newsletter

Get latest news, tutorials, community articles and podcast episodes delivered to your inbox every Friday!

We'll never share your email address and you can opt out at any time.