{"id":15963809,"url":"https://github.com/zacksleo/yii2-ad","last_synced_at":"2025-10-25T12:10:13.946Z","repository":{"id":57089054,"uuid":"82318907","full_name":"zacksleo/yii2-ad","owner":"zacksleo","description":"yii2 ad manage module","archived":false,"fork":false,"pushed_at":"2019-03-15T02:40:26.000Z","size":1804,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-21T12:35:08.491Z","etag":null,"topics":["yii2","yii2-extension","yii2-modules"],"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/zacksleo.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":"2017-02-17T16:59:59.000Z","updated_at":"2019-03-15T02:38:33.000Z","dependencies_parsed_at":"2022-08-20T16:00:44.907Z","dependency_job_id":null,"html_url":"https://github.com/zacksleo/yii2-ad","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/zacksleo/yii2-ad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fyii2-ad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fyii2-ad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fyii2-ad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fyii2-ad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zacksleo","download_url":"https://codeload.github.com/zacksleo/yii2-ad/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fyii2-ad/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274231163,"owners_count":25245675,"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","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["yii2","yii2-extension","yii2-modules"],"created_at":"2024-10-07T17:00:32.077Z","updated_at":"2025-10-25T12:10:08.899Z","avatar_url":"https://github.com/zacksleo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest Stable Version](https://poser.pugx.org/zacksleo/yii2-ad/version)](https://packagist.org/packages/zacksleo/yii2-ad)\n[![Total Downloads](https://poser.pugx.org/zacksleo/yii2-ad/downloads)](https://packagist.org/packages/zacksleo/yii2-ad)\n[![License](https://poser.pugx.org/zacksleo/yii2-ad/license)](https://packagist.org/packages/zacksleo/yii2-ad)\n[![Build Status](https://travis-ci.org/zacksleo/yii2-ad.svg?branch=master)](https://travis-ci.org/zacksleo/yii2-ad)\n[![StyleCI](https://styleci.io/repos/82318907/shield?branch=master)](https://styleci.io/repos/82318907)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/zacksleo/yii2-ad/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/zacksleo/yii2-ad/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/zacksleo/yii2-ad/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/zacksleo/yii2-ad/?branch=master)\n# yii2 ad module\n\n# Prerequisites\n\nInstall [Yii2 attachments](https://github.com/Nemmo/yii2-attachments) first\n\n## Migration\n\n+ Config Migration Path  in Yii config file like this\n\n```\n    'controllerMap' =\u003e [\n        'migrate' =\u003e [\n            'class' =\u003e 'yii\\console\\controllers\\MigrateController',\n            'migrationPath' =\u003e [\n                ...\n                '@zacksleo/yii2/ad/migrations',\n            ],\n        ],\n    ],\n\n```\n\n+ Or run migration by By migrationPath Parameter\n\n```\n  ./yii migrate --migrationPath=@zacksleo/yii2/ad/migrations\n\n```\n\n## Config Module in components part\n\n```\n    'rom-release' =\u003e [\n        'class' =\u003e 'zacksleo\\yii2\\ad\\Module',\n    ]\n\n```\n\n## Use Actions\n\n```\nclass AdController extends Controller\n{\n    public function actions()\n    {\n        return [\n            'index' =\u003e [\n                'class' =\u003e 'zacksleo\\yii2\\ad\\actions\\IndexAction'\n            ]\n        ];\n    }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacksleo%2Fyii2-ad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzacksleo%2Fyii2-ad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacksleo%2Fyii2-ad/lists"}