{"id":15168877,"url":"https://github.com/yiisoft/yii-base-cli","last_synced_at":"2025-10-01T02:31:10.122Z","repository":{"id":57087223,"uuid":"158192096","full_name":"yiisoft/yii-base-cli","owner":"yiisoft","description":"Yii Framework Command Line Application","archived":true,"fork":false,"pushed_at":"2019-05-23T15:59:20.000Z","size":35,"stargazers_count":26,"open_issues_count":2,"forks_count":6,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-04-13T22:57:39.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.yiiframework.com/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yiisoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"open_collective":"yiisoft"}},"created_at":"2018-11-19T09:06:13.000Z","updated_at":"2023-12-03T00:26:58.000Z","dependencies_parsed_at":"2022-08-20T16:00:26.914Z","dependency_job_id":null,"html_url":"https://github.com/yiisoft/yii-base-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii-base-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii-base-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii-base-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii-base-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiisoft","download_url":"https://codeload.github.com/yiisoft/yii-base-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":215818202,"owners_count":15934971,"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-09-27T07:00:35.677Z","updated_at":"2025-10-01T02:31:04.725Z","avatar_url":"https://github.com/yiisoft.png","language":"PHP","funding_links":["https://opencollective.com/yiisoft"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"http://www.yiiframework.com/\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://www.yiiframework.com/files/logo/yii.png\" width=\"400\" alt=\"Yii Framework\" /\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eYii Framework Command Line Application\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\nThis package is [Yii Framework] Command Line application best for rapidly creating projects.\n\nThe template includes all commonly used configurations that would allow you to focus on adding new\nfeatures to your application.\n\n[Yii Framework]: http://www.yiiframework.com/\n\n[![Latest Stable Version](https://img.shields.io/packagist/v/yiisoft/yii-base-cli.svg)](https://packagist.org/packages/yiisoft/yii-base-cli)\n[![Total Downloads](https://img.shields.io/packagist/dt/yiisoft/yii-base-cli.svg)](https://packagist.org/packages/yiisoft/yii-base-cli)\n[![Build Status](https://travis-ci.com/yiisoft/yii-base-cli.svg?branch=master)](https://travis-ci.com/yiisoft/yii-base-cli)\n\nDIRECTORY STRUCTURE\n-------------------\n\n```\nconfig/             contains application configurations\nruntime/            contains files generated during runtime\nsrc/\n  commands/           contains console commands (controllers)\ntests/              contains various tests for the basic application\nvendor/             contains dependent 3rd-party packages\n.env\n.env.dist\ncomposer.json\n```\n\nREQUIREMENTS\n------------\n \n\nThe minimum requirement by this project template that your Web server supports PHP 7.2.\n\n\nINSTALLATION\n------------\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~~~\ncomposer create-project --prefer-dist --stability=dev yiisoft/yii-base-cli myapp\ncd myapp\n./vendor/bin/yii serve\n~~~\n\nNow you should be able to access the application via `http://localhost:8080/`.\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 \\Yiisoft\\Db\\Connection::class,\n    'dsn' =\u003e 'mysql:host=localhost;dbname=yii2basic;charset=utf8',\n    'username' =\u003e 'root',\n    'password' =\u003e '1234',\n];\n```\n\n**NOTES:**\n- Yii won't create the database for you, this has to be done manually before you can access it.\n- Check and edit the other files in the `config/` directory to customize your application as required.\n- Refer to the README in the `tests` directory for information specific to basic application tests.\n\n\nTESTING\n-------\n\nTests are located in `tests` directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii-base-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiisoft%2Fyii-base-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii-base-cli/lists"}