-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
lpachecob edited this page Mar 22, 2026
·
4 revisions
Everything in BOUNDLY can be customized. The configuration file config/boundly.php is the bridge between the framework's clean root and its technical basement.
The default language for CLI output and system messages.
| Value | Default | Description |
|---|---|---|
'en' |
'en' |
English. |
'es' |
'en' |
Spanish. |
'locale' => 'es',The URL segment for all auto-generated endpoints.
| Default | Description |
|---|---|
'api' |
The prefix for generated actions (e.g., /api/users). |
'api_prefix' => 'api',Where BOUNDLY's discovery engine scans for your code.
| Key | Default | Description |
|---|---|---|
domain |
base_path('Domain') |
Path to search for #[Entity] attributes. |
application |
base_path('Application') |
Path to search for #[Action] attributes. |
'paths' => [
'domain' => base_path('Domain'),
'application' => base_path('Application'),
],// config/boundly.php
return [
'locale' => 'en',
'api_prefix' => 'api',
'paths' => [
'domain' => base_path('Domain'),
'application' => base_path('Application'),
],
];-
Environment Aware: Use
env()insideboundly.phpto change paths in testing or production. -
CLI Override: Remember that
--langin anycore:*command takes precedence over this file. -
Manual Creation: If the file is missing, you can create it manually or copy it from the basement
Infrastructure/LaravelEngine/config/boundly.php.
Next Step: Roadmap 🚀