arter/amos-discussioni

There is no license information available for the latest version (1.5.1) of this package.

Sistema AMOS per le discussioni

This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.

Maintainers

👁 art-er

Package info

repo.aster.it/elitedivision/amos-discussioni

Homepage

Forum

Wiki

Type:project

pkg:composer/arter/amos-discussioni

Statistics

Installs: 601

Dependents: 0

Suggesters: 0

1.5.1 2023-01-04 13:42 UTC

Unknown License 0714e77d216d0ecfd2e18c1f0bc078a3559f8e17

yii2amosdiscussioni

This package is auto-updated.

Last update: 2025-03-28 14:07:03 UTC


README

Extension for create discussions.

Installation

1. Add module to your application

The preferred way to install this extension is through composer.

Either run

composer require arter/amos-discussioni

or add this row

"arter/amos-discussioni": "*"

to the require section of your composer.json file.

2. Add module configuration

Add module to your main config in backend like this:

<?php
'modules' => [
 'discussioni' => [
 'class' => 'arter\amos\discussioni\AmosDiscussioni'
 ],
],

3. Apply migrations

To apply migrations you can launch this command:

php yii migrate/up --migrationPath=@vendor/arter/amos-discussioni/src/migrations

or add this row to your migrations config in console:

<?php
return [
 '@vendor/arter/amos-discussioni/src/migrations',
];

4. Configure the required plugin amos-comments

After the configuration of amos-discussioni plugin you must configure amos-comments. To see how to configure that plugin go to http://git.arter.it/amos/amos-comments/blob/master/README.md, then add this configuration to modelsEnabled in amos-comments configuration:

<?php
'modules' => [
 'comments' => [
 'class' => 'arter\amos\comments\AmosComments',
 'modelsEnabled' => [
 'arter\amos\discussioni\models\DiscussioniTopic'
 ]
 ],
],