mirror of
https://github.com/freescout-helpdesk/freescout.git
synced 2024-11-09 12:22:30 +01:00
Updated FreeScout Modules Dev (markdown)
parent
b9aeb4e562
commit
edebd1ffab
@ -251,5 +251,15 @@ Now you can access added classes as usually:
|
||||
|
||||
> ATTENTION: Do not run Laravel-Modules's `module:update` command, it will add requirements from module's composer to the main FreeScout composer.json, which is not allowed.
|
||||
|
||||
To enable package's service provider add it to `module.json`:
|
||||
```
|
||||
"providers": [
|
||||
"\\Package\\PackageServiceProvider",
|
||||
],
|
||||
"aliases": {
|
||||
"Package": "\\Package\\Laravel\\Facades\\Package"
|
||||
},
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
If module's service provider not found, module is automatically deactivated and floating flash message is shown to admin. Other exceptions are processed normally.
|
Loading…
Reference in New Issue
Block a user