Skip to content

Environments

List of available environments and possible values.

DB_CONNECTION

By Default the value is sqlite if you are planning to use MySQL then you need to pass the following

dotenv
DB_CONNECTION=mysql
DB_HOST=host
DB_PORT=3306
DB_DATABASE=database
DB_USERNAME=username
DB_PASSWORD=password

Top Navigation

dotenv
TOP_NAVIGATION=1

Remove Top Bar ( if you didn't enable top navigation)

dotenv
DISABLE_TOP_BAR=1

Enable SPA (the page changes content without reloading the whole page)

dotenv
SPA=1

App and Asset url

you need to update those depending on your configuration and how the app is accessed

dotenv
APP_URL="http://localhost:8080"
ASSET_URL="http://localhost:8080"

Change the theme color

by default, it's Emerald,

dotenv
THEME_COLOR="Emerald"

but here's a list of all available colors

SlateGrayZincNeutral
StoneRedOrangeAmber
YellowLimeGreenEmerald
TealCyanSkyBlue
IndigoVioletPurpleFuchsia
PinkRose