An easy site settings example to show how to create a site settings page and cache the settings in laravel
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bootstrap
config
database
public
resources
routes
storage
tests
.DS_Store
.env.example
.gitattributes
.gitignore
README.md
artisan
composer.json
composer.lock
laravel-site-settings.png
laravel-site-settings.sql
package.json
phpunit.xml
server.php
webpack.mix.js
yarn.lock

README.md

An easy site settings example to show how to create a site settings page and cache the settings in laravel

Screenshot


How to use

  • Clone the repository with git clone.
  • Create a database
  • Copy .env.example file to .env and edit database section there
  • Run composer install
  • Run php artisan key:generate
  • There is migration and seeder file in project but you can have Base table or view not found... error while migrating. So try creating table with laravel-site-settings.sql file in the project.
  • Because there is caching in setting, you can try updating any setting for triggering updating cache
  • That's it - load the homepage

License

Please use and re-use however you want.