This is addon for FusionCMS v6 (https://github.com/fusioncms/fusioncms)
-
Download all files to your FusionCMS
addons/StatementAnalyzer
folder, it is normally located at root folder of the FusionCMS installation. (If there is noaddons
folder there, you may need to create a empty folderaddons
) -
Run
php artisan addon:discover
php artisan addon:enable StatementAnalyzer
GrowCRM Laravel Normal Installation
-
Create a modules folder and pull the package.
-
Add In to config/app.php
/*
* Package Service Providers...
*/
....
Ant\StatementAnalyzer\Providers\AddonServiceProvider::class,
- Add below code to composer.json
"psr-4": {
"Ant\\StatementAnalyzer\\": "modules/StatementAnalyzer/src"
},
-
Run composer dump-autoload
-
Run command to migrate the tables
php artisan migrate
- Go to AddonServiceProvider.php replace the code below.
$this->publishes([
__DIR__.'/../../public' => public_path('vendor/statement-analyzer'),
], 'statement-analyzer');
- Publish the css and js file
php artisan vendor:publish --tag="statement-analyzer"
- add in css file and js file
<link href="{{ asset('vendor/statement-analyzer/css/app.css') }}" rel="stylesheet">
<script src="{{ asset('vendor/statement-analyzer/js/app.js') }}" defer></script>
- Can run php artisan serve and browse
{{ domain_url }}/statements
{{ domain_url }}/statement-tags