{"id":35035584,"url":"https://github.com/longvhdeveloper/yii_basic","last_synced_at":"2026-05-21T00:06:50.777Z","repository":{"id":29337140,"uuid":"32870960","full_name":"longvhdeveloper/yii_basic","owner":"longvhdeveloper","description":null,"archived":false,"fork":false,"pushed_at":"2015-03-25T14:51:01.000Z","size":196,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-21T03:10:33.409Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/longvhdeveloper.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-03-25T14:50:22.000Z","updated_at":"2024-03-21T03:10:33.410Z","dependencies_parsed_at":"2022-09-06T19:30:26.860Z","dependency_job_id":null,"html_url":"https://github.com/longvhdeveloper/yii_basic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/longvhdeveloper/yii_basic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longvhdeveloper%2Fyii_basic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longvhdeveloper%2Fyii_basic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longvhdeveloper%2Fyii_basic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longvhdeveloper%2Fyii_basic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/longvhdeveloper","download_url":"https://codeload.github.com/longvhdeveloper/yii_basic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longvhdeveloper%2Fyii_basic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33281406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-20T15:12:43.734Z","status":"ssl_error","status_checked_at":"2026-05-20T15:12:42.300Z","response_time":356,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2025-12-27T07:54:32.592Z","updated_at":"2026-05-21T00:06:50.766Z","avatar_url":"https://github.com/longvhdeveloper.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Yii 2 Basic Application Template\n================================\n\nYii 2 Basic Application Template is a skeleton Yii 2 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\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 application 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 application 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%2Flongvhdeveloper%2Fyii_basic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flongvhdeveloper%2Fyii_basic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flongvhdeveloper%2Fyii_basic/lists"}