from: @Israel Pereira

We don't love đź’” hard coding!

For that reason, we decided to use flexible values internally, so they can be changed in case of need, without making the user do horrible things with our package!

After publishing the config file, you may notice that we have referenced many values internally using the .env file, and these are the following values that you can map:

Reference Table

Value Reference Additional Information
STRUCT_URL config(’struct.base_url’) The base URL of your Struct API Instance.
STRUCT_TOKEN config(’struct.token’) Your Struct API Token.
STRUCT_DEFAULT_LANGUAGE config(’struct.default_language’) The default language that will be used when applicable.
Default: en-GB
STRUCT_PER_PAGE config(’struct.per_page’) This is the number of results returned per page when applicable.
If not defined, it will be the default value provided by Struct.
Default: null