☕
hotCoffee
  • Introduction
  • ⚙️ GETTING STARTED
    • Installation
    • Resources & Credits
      • Argon Dashboard Free
      • Material Kit Free
      • Font Awesome
      • Laravel Packages
  • 🗂️ Modules
    • Dashboard
    • Menus
    • Articles
    • Info Pages
    • File Manager
    • Users
    • Roles
    • Settings
  • ⚒️ CUSTOMIZATION & LOGIC
    • Routing
    • Configuration
    • Adding Settings
    • Multilanguage
    • Helper Methods
    • Searching Models
    • Exporting
    • Traits
    • Extending Modules
    • Artisan Commands
Powered by GitBook
On this page
  1. 🗂️ Modules

Settings

PreviousRolesNextRouting

Last updated 5 years ago

Usage

The Settings module allows you to add any global settings for your website. This can be, for example, the website name or the email address where your visitors can contact you. You can get the value of any setting by using the settings() helper function.

{{ settings('field_name') }}

Of course, you can use that in the back-end. Here is an example on how to send a message to the main e-mail address defined in the settings:

Mail::to(settings('mail'))->send(new CustomMail);

Learn how to .

add your own fields on the settings page