Support the ongoing development of Laravel.io →
Input Database Packages
Last updated 2 years ago.
0

I would probably write this out to a config file on save assuming you have sufficient privileges

0

And what would be the way to store that in the database?

0

I wouldn't store it in the database - I would store it as a config file - I assume you need to access the data on every page load so a file read might be quicker

You could write it to an ini type file and parse the data out, or even better write it as a Laravel config file to the config directory. You could then access the values like \Config::get('myapp.startDate');

0

Thank you, I'm going to try it!

0

Sign in to participate in this thread!

Eventy

Your banner here too?

luciendub luciendub Joined 29 Jul 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.