{"id":19319892,"url":"https://github.com/yii2-bridge/slug-behavior","last_synced_at":"2026-04-28T15:34:27.124Z","repository":{"id":57086893,"uuid":"136421508","full_name":"yii2-bridge/slug-behavior","owner":"yii2-bridge","description":"Yii2 Bridge Slug Behavior","archived":false,"fork":false,"pushed_at":"2018-06-26T10:36:05.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-12T12:49:00.905Z","etag":null,"topics":["bridge","slug","sluggable","slugger","yii2"],"latest_commit_sha":null,"homepage":"","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/yii2-bridge.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":"2018-06-07T04:24:45.000Z","updated_at":"2018-06-26T09:30:12.000Z","dependencies_parsed_at":"2022-08-25T00:50:28.616Z","dependency_job_id":null,"html_url":"https://github.com/yii2-bridge/slug-behavior","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/yii2-bridge/slug-behavior","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yii2-bridge%2Fslug-behavior","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yii2-bridge%2Fslug-behavior/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yii2-bridge%2Fslug-behavior/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yii2-bridge%2Fslug-behavior/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yii2-bridge","download_url":"https://codeload.github.com/yii2-bridge/slug-behavior/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yii2-bridge%2Fslug-behavior/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263480897,"owners_count":23473165,"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":["bridge","slug","sluggable","slugger","yii2"],"created_at":"2024-11-10T01:25:45.326Z","updated_at":"2026-04-28T15:34:22.103Z","avatar_url":"https://github.com/yii2-bridge.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yii2 Bridge Slug Behavior\n\n[Yii2](http://www.yiiframework.com) [bridge](https://github.com/naffiq/yii2-bridge) slug behavior\n\nThis code is inspired by [https://github.com/zelenin/yii2-slug-behavior](https://github.com/zelenin/yii2-slug-behavior), with correction of errors related to the Kazakh language.\nFull documentation about this behavior, you can read on [the above repository](https://github.com/zelenin/yii2-slug-behavior).\n## Installation\n\n### Composer\n\nThe preferred way to install this extension is through [Composer](http://getcomposer.org/).\n\nEither run ```composer require yii2-bridge/slug-behavior:^0.1```\n\nor add ```\"yii2-bridge/slug-behavior\": \"^0.1\"``` to the require section of your ```composer.json```\n\n### Using\n\nAttach the behavior in your model:\n\n```php\npublic function behaviors()\n{\n    return [\n        'slug' =\u003e [\n            'class' =\u003e 'Bridge\\Slug\\BridgeSlugBehavior',\n            'slugAttribute' =\u003e 'slug',\n            'attribute' =\u003e 'title',\n            // If intl extension is enabled, see http://userguide.icu-project.org/transforms/general.\n            'transliterateOptions' =\u003e 'Russian-Latin/BGN; Any-Latin; Latin-ASCII; NFD; [:Nonspacing Mark:] Remove; NFC;'\n        ],\n    ];\n}\n```\n\n## Author\n\n[Altynbek Kazezov](https://github.com/altynbek07/), e-mail: [altinbek__97@mail.ru](mailto:altinbek__97@mail.ru)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyii2-bridge%2Fslug-behavior","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyii2-bridge%2Fslug-behavior","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyii2-bridge%2Fslug-behavior/lists"}