{"id":19617592,"url":"https://github.com/macagua/example-my-yii2-app-basic","last_synced_at":"2026-04-28T12:36:47.019Z","repository":{"id":32989029,"uuid":"36617380","full_name":"macagua/example-my-yii2-app-basic","owner":"macagua","description":"My YII2 Framework app basic example","archived":false,"fork":false,"pushed_at":"2015-05-31T19:09:49.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T18:17:20.482Z","etag":null,"topics":["composer","database","php","yii","yii2-app","yii2-framework"],"latest_commit_sha":null,"homepage":"","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/macagua.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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-05-31T18:59:14.000Z","updated_at":"2020-09-21T09:49:32.000Z","dependencies_parsed_at":"2022-09-04T00:53:23.284Z","dependency_job_id":null,"html_url":"https://github.com/macagua/example-my-yii2-app-basic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/macagua/example-my-yii2-app-basic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macagua%2Fexample-my-yii2-app-basic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macagua%2Fexample-my-yii2-app-basic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macagua%2Fexample-my-yii2-app-basic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macagua%2Fexample-my-yii2-app-basic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macagua","download_url":"https://codeload.github.com/macagua/example-my-yii2-app-basic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macagua%2Fexample-my-yii2-app-basic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32381688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["composer","database","php","yii","yii2-app","yii2-framework"],"created_at":"2024-11-11T11:04:49.611Z","updated_at":"2026-04-28T12:36:47.001Z","avatar_url":"https://github.com/macagua.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Yii 2 Basic Project Template\n============================\n\nYii 2 Basic Project Template is a skeleton [Yii 2](http://www.yiiframework.com/) application best for\nrapidly creating small projects.\n\nThe template contains the basic features including user login/logout and a contact page.\nIt includes all commonly used configurations that would allow you to focus on adding new\nfeatures to your application.\n\n[![Latest Stable Version](https://poser.pugx.org/yiisoft/yii2-app-basic/v/stable.png)](https://packagist.org/packages/yiisoft/yii2-app-basic)\n[![Total Downloads](https://poser.pugx.org/yiisoft/yii2-app-basic/downloads.png)](https://packagist.org/packages/yiisoft/yii2-app-basic)\n[![Build Status](https://travis-ci.org/yiisoft/yii2-app-basic.svg?branch=master)](https://travis-ci.org/yiisoft/yii2-app-basic)\n\nDIRECTORY STRUCTURE\n-------------------\n\n      assets/             contains assets definition\n      commands/           contains console commands (controllers)\n      config/             contains application configurations\n      controllers/        contains Web controller classes\n      mail/               contains view files for e-mails\n      models/             contains model classes\n      runtime/            contains files generated during runtime\n      tests/              contains various tests for the basic application\n      vendor/             contains dependent 3rd-party packages\n      views/              contains view files for the Web application\n      web/                contains the entry script and Web resources\n\n\n\nREQUIREMENTS\n------------\n\nThe minimum requirement by this project template that your Web server supports PHP 5.4.0.\n\n\nINSTALLATION\n------------\n\n### Install from an Archive File\n\nExtract the archive file downloaded from [yiiframework.com](http://www.yiiframework.com/download/) to\na directory named `basic` that is directly under the Web root.\n\nYou can then access the application through the following URL:\n\n~~~\nhttp://localhost/basic/web/\n~~~\n\n\n### Install via Composer\n\nIf you do not have [Composer](http://getcomposer.org/), you may install it by following the instructions\nat [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).\n\nYou can then install this project template using the following command:\n\n~~~\nphp composer.phar global require \"fxp/composer-asset-plugin:~1.0.0\"\nphp composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic\n~~~\n\nNow you should be able to access the application through the following URL, assuming `basic` is the directory\ndirectly under the Web root.\n\n~~~\nhttp://localhost/basic/web/\n~~~\n\n\nCONFIGURATION\n-------------\n\n### Database\n\nEdit the file `config/db.php` with real data, for example:\n\n```php\nreturn [\n    'class' =\u003e 'yii\\db\\Connection',\n    'dsn' =\u003e 'mysql:host=localhost;dbname=yii2basic',\n    'username' =\u003e 'root',\n    'password' =\u003e '1234',\n    'charset' =\u003e 'utf8',\n];\n```\n\n**NOTE:** Yii won't create the database for you, this has to be done manually before you can access it.\n\nAlso check and edit the other files in the `config/` directory to customize your application.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacagua%2Fexample-my-yii2-app-basic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacagua%2Fexample-my-yii2-app-basic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacagua%2Fexample-my-yii2-app-basic/lists"}