{"id":15282373,"url":"https://github.com/kriptograf/yii2-mforum","last_synced_at":"2026-01-28T01:02:32.525Z","repository":{"id":57009203,"uuid":"75658060","full_name":"kriptograf/yii2-mforum","owner":"kriptograf","description":"Embeded forum module for yii2 project","archived":false,"fork":false,"pushed_at":"2016-12-07T12:42:12.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T22:49:48.569Z","etag":null,"topics":["forum","yii2","yii2-extension"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kriptograf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-05T19:18:42.000Z","updated_at":"2020-01-13T19:45:36.000Z","dependencies_parsed_at":"2022-08-21T14:50:48.651Z","dependency_job_id":null,"html_url":"https://github.com/kriptograf/yii2-mforum","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriptograf%2Fyii2-mforum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriptograf%2Fyii2-mforum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriptograf%2Fyii2-mforum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriptograf%2Fyii2-mforum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kriptograf","download_url":"https://codeload.github.com/kriptograf/yii2-mforum/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245136352,"owners_count":20566586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["forum","yii2","yii2-extension"],"created_at":"2024-09-30T14:25:25.406Z","updated_at":"2026-01-28T01:02:32.518Z","avatar_url":"https://github.com/kriptograf.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"yii2 forum\n==========\nforum module extension for yii2\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```\nphp composer require --prefer-dist kriptograf/yii2-mforum \"*\"\n```\n\nor add\n\n```\n\"kriptograf/yii2-mforum\": \"*\"\n```\n\nto the require section of your `composer.json` file.\n\nConfigure\n---------\n\nAdd following lines to your main configuration file:\n\n```php\n'modules' =\u003e [\n    ...\n    'forum' =\u003e [\n        'class' =\u003e 'kriptograf\\mforum\\Module',\n        'defaultRoute'=\u003e'forum/index'\n    ],\n    //depends extensions\n    'markdown' =\u003e [\n        'class' =\u003e 'kartik\\markdown\\Module',\n    ],\n    'attachments' =\u003e [\n    \t'class' =\u003e nemmo\\attachments\\Module::className(),\n    \t'tempPath' =\u003e '@app/uploads/temp',\n    \t'storePath' =\u003e '@app/uploads/store',\n    \t'rules' =\u003e [ // Rules according to the FileValidator\n    \t\t'maxFiles' =\u003e 10, // Allow to upload maximum 3 files, default to 3\n    \t\t'mimeTypes' =\u003e 'image/png', // Only png images\n    \t\t'maxSize' =\u003e 1024 * 1024 // 1 MB\n    \t],\n    \t'tableName' =\u003e '{{%attachments}}' // Optional, default to 'attach_file'\n    ]\n    ... \n ]\n \n```\n\nAdd sender information to common/params.php\n\n```\n'forumEmailSender'=\u003e'info@yousite.com',\n```\n\nUpdate database schema\n----------------------\n\nThe last thing you need to do is updating your database schema by applying the\nmigrations. Make sure that you have properly configured `db` application component\nand run the following command:\n\n```bash\n$ php yii migrate/up --migrationPath=@vendor/kriptograf/yii2-mforum/migrations\n$ php yii migrate/up --migrationPath=@vendor/nemmo/yii2-attachments/src/migrations\n```\n\n\nUsage\n-----\n\nOnce the extension is installed, simply use it in your code by  :\n\n```php\n\u003c?= Url::toRoute(['/forum']); ?\u003e```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkriptograf%2Fyii2-mforum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkriptograf%2Fyii2-mforum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkriptograf%2Fyii2-mforum/lists"}