{"id":13411341,"url":"https://github.com/zelenin/yii2-semantic-ui","last_synced_at":"2025-04-06T20:12:14.348Z","repository":{"id":25672564,"uuid":"29108451","full_name":"zelenin/yii2-semantic-ui","owner":"zelenin","description":"Semantic UI extension for Yii2","archived":false,"fork":false,"pushed_at":"2018-05-03T14:53:41.000Z","size":76,"stargazers_count":112,"open_issues_count":9,"forks_count":36,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-09-17T20:18:13.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"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/zelenin.png","metadata":{"files":{"readme":"readme.md","changelog":null,"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":"2015-01-11T22:27:49.000Z","updated_at":"2023-12-26T13:47:07.000Z","dependencies_parsed_at":"2022-08-23T18:50:56.965Z","dependency_job_id":null,"html_url":"https://github.com/zelenin/yii2-semantic-ui","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zelenin%2Fyii2-semantic-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zelenin%2Fyii2-semantic-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zelenin%2Fyii2-semantic-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zelenin%2Fyii2-semantic-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zelenin","download_url":"https://codeload.github.com/zelenin/yii2-semantic-ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247543593,"owners_count":20955865,"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":"2024-07-30T20:01:13.024Z","updated_at":"2025-04-06T20:12:14.331Z","avatar_url":"https://github.com/zelenin.png","language":"PHP","funding_links":[],"categories":["Extension 扩展","Backend"],"sub_categories":[],"readme":"# Yii2 Semantic UI extension\n\n[Semantic UI](http://semantic-ui.com) extension for [Yii2](http://www.yiiframework.com)\n\n## Installation\n\nyii2-semantic-ui 2.* works with Semantic UI 2.*\n\n### Composer\n\nThe preferred way to install this extension is through [Composer](http://getcomposer.org/).\n\nEither run\n\n```\nphp composer.phar require zelenin/yii2-semantic-ui \"~2\"\n```\n\nor add\n\n```\n\"zelenin/yii2-semantic-ui\": \"~2\"\n```\n\nto the require section of your ```composer.json```\n\n## Usage\n\nAdd SemanticUICSSAsset to AppAsset:\n\n```php\n\u003c?php\n\nnamespace backend\\assets;\n\nuse yii\\web\\AssetBundle;\n\nclass AppAsset extends AssetBundle\n{\n    public $basePath = '@webroot';\n    public $baseUrl = '@web';\n    public $css = [];\n    public $js = [];\n    public $depends = [\n        'yii\\web\\YiiAsset',\n        'yii\\web\\JqueryAsset',\n        'Zelenin\\yii\\SemanticUI\\assets\\SemanticUICSSAsset'\n    ];\n}\n```\n\nUse Semantic UI widgets and elements. Standard Yii2 widgets also adopted.\n\nYou may replace yii2 standard widgets. Write in bootstrap.php:\n\n```php\nYii::$container-\u003eset(\\yii\\grid\\GridView::className(), \\Zelenin\\yii\\SemanticUI\\widgets\\GridView::className());\nYii::$container-\u003eset(\\yii\\widgets\\ActiveForm::className(), \\Zelenin\\yii\\SemanticUI\\widgets\\ActiveForm::className());\nYii::$container-\u003eset(\\yii\\bootstrap\\ActiveForm::className(), \\Zelenin\\yii\\SemanticUI\\widgets\\ActiveForm::className());\nYii::$container-\u003eset(\\yii\\widgets\\Breadcrumbs::className(), \\Zelenin\\yii\\SemanticUI\\collections\\Breadcrumb::className());\nYii::$container-\u003eset(\\yii\\grid\\CheckboxColumn::className(), \\Zelenin\\yii\\SemanticUI\\widgets\\CheckboxColumn::className());\n```\n\nBe very careful with it.\n\n## Author\n\n[Aleksandr Zelenin](https://github.com/zelenin/), e-mail: [aleksandr@zelenin.me](mailto:aleksandr@zelenin.me)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzelenin%2Fyii2-semantic-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzelenin%2Fyii2-semantic-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzelenin%2Fyii2-semantic-ui/lists"}