While working on Laravel applications that requires a lot of configurations, I had a problem with storing the data in the database Do I keep creating new tables anytime I want to store a setting? Do I keep adding new columns on existing tables to store these variables?

This is how I handle some settings in Laravel applications with a lot of configurations.

If you have a better way of storing variables in an application, please leave a comment.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners