Environment Settings
LEDGER_API_DEBUG_ALLOWED
Controls whether the API can be put into debug mode. Defaults to true.
LEDGER_LOG_CHANNEL
Defines a channel to write audit log events to. If not provided, Laravel's LOG_CHANNEL
is used.
Ledger Configuration
api
A boolean that enables API calls. When false, the API is disabled. Defaults to true.
api_debug
Controls the availability of debugging telemetry in the API. Defaults to true. Can be overridden
by setting LEDGER_API_DEBUG_ALLOWED
in the environment.
log
Specifies the destination for Ledger's audit log. Set by defining LEDGER_LOG_CHANNEL
in
the environment. Defaults to Laravel's LOG_CHANNEL
.
middleware
An array of middleware to route requests. defaults to ['api']
.
prefix
The prefix for Ledger's API routes. Default is api/ledger
.
session_key_prefix
A prefix for entries Ledger stores in the session. Default is 'ledger.'
.