1. Home
  2. Docs
  3. Laraship
  4. Configuration
  5. Site Settings

Site Settings

Laraship Settings is built to handle website configuration, In addition, it’s pretty flexible to be used for adding new options and use them in your theme, plugins:

Here are the pre-configured settings that you need to customize it :

  1. Default User Role: this is the role where registered users through the registration page will be set automatically.
  2. Administration Currency Code: the currency will be used when managing plan prices for the Admin panel.
  3. Social Links: set your social page URLs to be used on the front end pages.
  4. Site Logo: set your website logo.
  5. Site Favicon: setup your site favicon.
  6. Site Name: Your Site Name.
  7. Google Map URL: map to be shown on the contact page
  8. Contact Email: the email you will be receiving the contact messages submitted from the contact form.
  9. Home Page Slug: the slug of the page that you will set as the home page to be shown on the frontend page.
  10. Blog Page Slug: the slug of the page to be set as the blog page.
  11. Pricing Page Slug: the slug of the pricing page
  12. Supported gateways: You can define new payment gateway ( We are working on supporting new gateways)




  • Validate if the key exists:
\Settings::get('SETTING_KEY', 'Default value if not exist');
\Settings::get('SITE_TITLE', 'Laravel Settings');
  • also, you can use an asterisk to get a group of settings. for example:



will return an array of all settings with keys started with MAIL such as:

'MAIL_DRIVER' => 'smtp',
'MAIL_HOST' => '',
'MAIL_PORT' => '2525',

– in case of file type a full path will return:

config('settings.upload_path') . '/' . $value;

Inspired by Laravel Settings Package