{"id":15282395,"url":"https://github.com/nullrefexcep/yii2-dialog","last_synced_at":"2026-02-07T12:01:44.014Z","repository":{"id":57029278,"uuid":"70422620","full_name":"NullRefExcep/yii2-dialog","owner":"NullRefExcep","description":"Yii2 module for dialogs","archived":false,"fork":false,"pushed_at":"2017-03-25T23:34:36.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-26T13:43:33.230Z","etag":null,"topics":["yii2","yii2-dialog","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/NullRefExcep.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-10-09T18:32:20.000Z","updated_at":"2019-03-12T23:50:38.000Z","dependencies_parsed_at":"2022-08-23T16:20:47.158Z","dependency_job_id":null,"html_url":"https://github.com/NullRefExcep/yii2-dialog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NullRefExcep/yii2-dialog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullRefExcep%2Fyii2-dialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullRefExcep%2Fyii2-dialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullRefExcep%2Fyii2-dialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullRefExcep%2Fyii2-dialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NullRefExcep","download_url":"https://codeload.github.com/NullRefExcep/yii2-dialog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullRefExcep%2Fyii2-dialog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29194001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["yii2","yii2-dialog","yii2-extension"],"created_at":"2024-09-30T14:25:35.383Z","updated_at":"2026-02-07T12:01:43.993Z","avatar_url":"https://github.com/NullRefExcep.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yii2-dialog\n\nYii2 module for dialogs (WIP)\n\n[![Latest Stable Version](https://poser.pugx.org/nullref/yii2-dialog/v/stable)](https://packagist.org/packages/nullref/yii2-dialog) \n[![Total Downloads](https://poser.pugx.org/nullref/yii2-dialog/downloads)](https://packagist.org/packages/nullref/yii2-dialog) \n[![Latest Unstable Version](https://poser.pugx.org/nullref/yii2-dialog/v/unstable)](https://packagist.org/packages/nullref/yii2-dialog) \n[![License](https://poser.pugx.org/nullref/yii2-dialog/license)](https://packagist.org/packages/nullref/yii2-dialog)\n\n\n## Installation\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```bash\ncomposer require --prefer-dist nullref/yii2-dialog\n```\n\nor add\n\n```\n\"nullref/yii2-dialog\": \"*\"\n```\n\nto the require section of your `composer.json` file.\n\nThen add module to application config:\n```php\n...\n'modules' =\u003e [\n...\n    'dialog' =\u003e [\n        'class' =\u003e 'nullref\\dialog\\Module',\n        'components' =\u003e [\n            'userManager' =\u003e [\n                'class' =\u003e 'nullref\\dialog\\components\\UserManager',\n                'modelClass' =\u003e 'your User model class',\n            ],\n        ],\n    ],\n...\n],\n...\n```\n\nUser model class must implements `nullref\\dialog\\interfaces\\UserModel`.\n\n\n## Usage\n\n\nYou can use dialog widget(nullref\\dialog\\widgets\\Dialog):\n\n```php\n\u003c?= nullref\\dialog\\widgets\\Dialog::widget([\n    'dialog' =\u003e $dialog, // instance of Dialog model (nullref\\dialog\\models\\Dialog)\n    'user' =\u003e Yii::$app-\u003euser-\u003egetIdentity(), //instance of current user\n    'canWrite' =\u003e true, // allows write messages\n    'canDelete' =\u003e true, // allows delete own messages\n]) ?\u003e\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullrefexcep%2Fyii2-dialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnullrefexcep%2Fyii2-dialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullrefexcep%2Fyii2-dialog/lists"}