Download the PHP package dd4you/lgs without Composer
On this page you can find all versions of the php package dd4you/lgs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package lgs
Laravel Global Settings
Store general settings like website name, logo url, contacts in the database easily. Everything is cached, so no extra query is done. You can also get fresh values from the database directly if you need.
Install the package via composer
Migrate the database
I have also added seeder for some general settings a website needs. Seed the database using command:
To store settings on database
You can also set multiple settings at once
You can retrieve the settings from cache using any command below
Want the settings directly from database? You can do it,
Getting all the settings stored on database
You can use the settings on blade as
Or, if you have html stored on settings
Finally, If you have changed something directly on database, Don't forget to clear the cache.
If you have any feedback, please reach out at [email protected] or submit a pull request here.