{"id":25424413,"url":"https://github.com/rybinden/yii2-select-slug","last_synced_at":"2025-05-14T01:32:22.198Z","repository":{"id":62538647,"uuid":"62777474","full_name":"RybinDen/yii2-select-slug","owner":"RybinDen","description":"Виджет для выбора алиаса пути из заголовка","archived":false,"fork":false,"pushed_at":"2016-07-08T04:25:32.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T23:16:04.195Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RybinDen.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-07-07T05:27:17.000Z","updated_at":"2016-07-07T05:37:30.000Z","dependencies_parsed_at":"2022-11-02T16:01:27.662Z","dependency_job_id":null,"html_url":"https://github.com/RybinDen/yii2-select-slug","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/RybinDen%2Fyii2-select-slug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RybinDen%2Fyii2-select-slug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RybinDen%2Fyii2-select-slug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RybinDen%2Fyii2-select-slug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RybinDen","download_url":"https://codeload.github.com/RybinDen/yii2-select-slug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239207403,"owners_count":19599966,"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":[],"created_at":"2025-02-16T23:16:07.947Z","updated_at":"2025-02-16T23:16:08.856Z","avatar_url":"https://github.com/RybinDen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Виджет для Yii 2, который выводит варианты алиаса на русском и английском языке используя заголовок\n------\nустановка\n------------\nВыполнить команду \n```\nphp composer.phar require \"rybinden/yii2-select-slug\" \"*\"\n```\nили добавить В секцию `require` файла  `composer.json` вручную строчку:\n```json\n\"rybinden/yii2-select-slug\" : \"*\"\n```\nИ обновить командой composer update\nНастройка\n---------------\nВ конфигурационном файле подключить\n```php\n'components' =\u003e [\n'translate' =\u003e [\n'class' =\u003e 'rybinden\\translate\\YandexTranslate',\n'key' =\u003e 'ваш_ключ_приложения', // http://api.yandex.com/key/keyslist.xml\n],\n...\n],\n```\nВ вашем контроллере, который вызывает форму добавить действие:\n```php\npublic function actions(){\nreturn [\n'slug' =\u003e 'rybinden\\selectslug\\SlugAction',\n];\n}\n```\n\nиспользование\n---------------\n```php\nuse rybinden\\selectslug\\InputText;\n...ваша форма\necho InputText::widget([\n'model' =\u003e $model,\n'titleAttribute' =\u003e 'title',\n'slugAttribute' =\u003e 'slug',\n]);\n...другие поля формы\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frybinden%2Fyii2-select-slug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frybinden%2Fyii2-select-slug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frybinden%2Fyii2-select-slug/lists"}