{"id":15988540,"url":"https://github.com/efureev/yii2-noty","last_synced_at":"2026-01-14T00:57:56.202Z","repository":{"id":56975579,"uuid":"67984495","full_name":"efureev/yii2-noty","owner":"efureev","description":null,"archived":true,"fork":false,"pushed_at":"2016-09-15T17:01:22.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T23:38:34.197Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/efureev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-12T07:06:29.000Z","updated_at":"2024-04-16T05:48:46.000Z","dependencies_parsed_at":"2022-08-21T11:50:52.891Z","dependency_job_id":null,"html_url":"https://github.com/efureev/yii2-noty","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/efureev/yii2-noty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efureev%2Fyii2-noty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efureev%2Fyii2-noty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efureev%2Fyii2-noty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efureev%2Fyii2-noty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/efureev","download_url":"https://codeload.github.com/efureev/yii2-noty/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efureev%2Fyii2-noty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28407623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-10-08T04:05:20.974Z","updated_at":"2026-01-14T00:57:53.089Z","avatar_url":"https://github.com/efureev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"yii2-noty\n=========\n\n[![GitHub version](https://badge.fury.io/gh/efureev%2Fyii2-noty.svg)](https://badge.fury.io/gh/efureev%2Fyii2-noty) [![Build Status](https://travis-ci.org/efureev/yii2-noty.svg?branch=master)](https://travis-ci.org/efureev/yii2-noty) [![Dependency Status](https://gemnasium.com/badges/github.com/efureev/yii2-noty.svg)](https://gemnasium.com/github.com/efureev/yii2-noty) ![](https://reposs.herokuapp.com/?path=efureev/yii2-noty) [![Code Climate](https://codeclimate.com/github/efureev/yii2-noty/badges/gpa.svg)](https://codeclimate.com/github/efureev/yii2-noty) [![Test Coverage](https://codeclimate.com/github/efureev/yii2-noty/badges/coverage.svg)](https://codeclimate.com/github/efureev/yii2-noty/coverage)\n\n_Wrapper for [https://github.com/efureev/noty](https://github.com/efureev/noty)_\n\n[new]: http://i.imgur.com/41zuVDk.png \"New label\"\n[bug]: http://i.imgur.com/92lu4ln.png \"Bug label\"\n\n___\n### Install\n\nEither run\n```\ncomposer require \"efureev/yii2-noty: *\"\n```\n\nor add\n\n```\n\"efureev/yii2-noty\": \"~1\",\n```\n\nto the require section of your composer.json file.\n\n___\n### Methods\n\n- **alert** - show the alert window\n```javascript\n// @var string|object\napp.msg.alert('Alarma!...');\n```\n\n- **info** - show the info window\n```javascript\n// @var string|object\napp.msg.info('Alarma!...');\n```\n\n- **error** - show the error window\n```javascript\n// @var string|object\napp.msg.error('Alarma!...');\n```\n\n- **success** - show the success window\n```javascript\n// @var string|object\napp.msg.success('Alarma!...');\n```\n\n- **warning** - show the warning window\n```javascript\n// @var string|object\napp.msg.warning('Alarma!...');\n```\n\n- **confirm** - show the warning window\n```javascript\n// @var string|object\napp.msg.confirm('Alarma!...');\n//@var function onOkFn : function on click Ok\n//@var function onCancelFn : function on click Cancel\n//@var object callbacks : callbacks from noty\napp.msg.confirm('Alarma!...',onOkFn, onCancelFn, callbacks);\n```\n\n(callbacks)[http://ned.im/noty/#/about]\n\n\n___\n### Run\n\n### Example 1\n```php\n\\efureev\\noty\\NotyWidget::widget();\n```\n\n```js\napp.msg.error('Alarma!');\napp.msg.success('You are winner!');\napp.msg.success('You are winner!');\n```\n\n### Example 2: set Flashes\n```php\napp()-\u003esession-\u003esetFlash('warning', 'Warning.');\napp()-\u003esession-\u003esetFlash('error', 'Error.');\napp()-\u003esession-\u003esetFlash('info', 'Joke.');\n```\n\n\n# Tests\n\n`vendor/bin/phpunit`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefureev%2Fyii2-noty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fefureev%2Fyii2-noty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefureev%2Fyii2-noty/lists"}