{"id":16012246,"url":"https://github.com/cornernote/yii2-ace","last_synced_at":"2025-03-17T20:31:08.787Z","repository":{"id":33978936,"uuid":"37725586","full_name":"cornernote/yii2-ace","owner":"cornernote","description":"Ace admin theme for Yii2","archived":false,"fork":false,"pushed_at":"2022-09-20T05:17:38.000Z","size":42,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T03:50:11.455Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cornernote.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-19T14:15:12.000Z","updated_at":"2022-09-20T03:12:34.000Z","dependencies_parsed_at":"2022-07-13T17:10:39.385Z","dependency_job_id":null,"html_url":"https://github.com/cornernote/yii2-ace","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cornernote%2Fyii2-ace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cornernote%2Fyii2-ace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cornernote%2Fyii2-ace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cornernote%2Fyii2-ace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cornernote","download_url":"https://codeload.github.com/cornernote/yii2-ace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243878494,"owners_count":20362433,"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-10-08T14:02:20.548Z","updated_at":"2025-03-17T20:31:08.380Z","avatar_url":"https://github.com/cornernote.png","language":"PHP","readme":"# Yii2 Ace\n\n[![Latest Version](https://img.shields.io/github/tag/cornernote/yii2-ace.svg?style=flat-square\u0026label=release)](https://github.com/cornernote/yii2-ace/tags)\n[![Software License](https://img.shields.io/badge/license-BSD-brightgreen.svg?style=flat-square)](LICENSE.md)\n[![Build Status](https://img.shields.io/travis/cornernote/yii2-ace/master.svg?style=flat-square)](https://travis-ci.org/cornernote/yii2-ace)\n[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/cornernote/yii2-ace.svg?style=flat-square)](https://scrutinizer-ci.com/g/cornernote/yii2-ace/code-structure)\n[![Quality Score](https://img.shields.io/scrutinizer/g/cornernote/yii2-ace.svg?style=flat-square)](https://scrutinizer-ci.com/g/cornernote/yii2-ace)\n[![Total Downloads](https://img.shields.io/packagist/dt/cornernote/yii2-ace.svg?style=flat-square)](https://packagist.org/packages/cornernote/yii2-ace)\n\nAce admin theme for Yii2.\n\n\n## Installation\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```\n$ composer require cornernote/yii2-ace \"*\"\n```\n\nor add\n\n```\n\"cornernote/yii2-ace\": \"*\"\n```\n\nto the `require` section of your `composer.json` file.\n\n\n\nAdd the following to your `AppAsset.php`:\n\n```php\nclass AppAsset extends AssetBundle\n{\n    public $depends = [\n        'cornernote\\ace\\web\\AceAsset',\n    ];\n}\n```\n\n\n## Example Layout\n\nAn example Yii2 layout exists at `views/layouts/main.php`.\n\nYou can use it directly by pasting the following into your `views/layouts/main.php`:\n\n```\nuse app\\assets\\AppAsset;\n\nAppAsset::register($this);\n\n$viewPath = '@vendor/cornernote/yii2-ace/src/views/layouts';\n\n$regex = '|(\\\\' . DIRECTORY_SEPARATOR . '[^\\\\' . DIRECTORY_SEPARATOR . ']*\\\\' . DIRECTORY_SEPARATOR . '[^\\\\' . DIRECTORY_SEPARATOR . ']*\\.php)$|';\npreg_match($regex, __FILE__, $matches);\nrequire(Yii::getAlias('@vendor/cornernote/yii2-ace/src/views' . $matches[1]));\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcornernote%2Fyii2-ace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcornernote%2Fyii2-ace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcornernote%2Fyii2-ace/lists"}