{"id":15169677,"url":"https://gitlab.com/raupulus/yii2-app-basic","last_synced_at":"2025-10-01T02:31:37.973Z","repository":{"id":63904852,"uuid":"6698561","full_name":"raupulus/yii2-app-basic","owner":"raupulus","description":"Yii 2.0 Basic Application Template - Modify \r\nEsto es un mirror de: https://github.com/fryntiz/yii2-app-basic.git\r\nPackagist → https://packagist.org/packages/fryntiz/yii2-app-basic#dev-master","archived":true,"fork":false,"pushed_at":null,"size":null,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":null,"default_branch":"master","last_synced_at":"2024-09-23T22:03:55.948Z","etag":null,"topics":["framwork","php","project","skeleton","template","yii","yii-skeleton","yii2","yii2-app","yii2-application-template","yii2-basic","yii2-framework","yii2-skeleton"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://gitlab.com/uploads/-/system/project/avatar/6698561/yii2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.txt","codeowners":null,"security":null,"support":null}},"created_at":"2018-06-04T16:26:54.117Z","updated_at":"2023-03-11T15:41:50.777Z","dependencies_parsed_at":"2022-11-28T19:22:31.628Z","dependency_job_id":null,"html_url":"https://gitlab.com/raupulus/yii2-app-basic","commit_stats":null,"previous_names":[],"tags_count":17,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/raupulus%2Fyii2-app-basic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/raupulus%2Fyii2-app-basic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/raupulus%2Fyii2-app-basic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/raupulus%2Fyii2-app-basic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners/raupulus","download_url":"https://gitlab.com/raupulus/yii2-app-basic/-/archive/master/yii2-app-basic-master.zip","host":{"name":"gitlab.com","url":"https://gitlab.com","kind":"gitlab","repositories_count":4515314,"owners_count":6458,"icon_url":"https://github.com/gitlab.png","version":null,"created_at":"2022-05-30T11:31:42.605Z","updated_at":"2024-07-18T11:24:13.055Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners"}},"keywords":["framwork","php","project","skeleton","template","yii","yii-skeleton","yii2","yii2-app","yii2-application-template","yii2-basic","yii2-framework","yii2-skeleton"],"created_at":"2024-09-27T07:20:49.038Z","updated_at":"2025-10-01T02:31:32.341Z","avatar_url":"https://gitlab.com/uploads/-/system/project/avatar/6698561/yii2.png","language":null,"readme":"#plantilla\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/fryntiz/yii2-app-basic\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://avatars0.githubusercontent.com/u/993323\" height=\"100px\"\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eYii 2 Basic Project Template (mod)\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\nThis project template is based a Yii 2 Basic Project: \n[Yii 2](http://www.yiiframework.com/)\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://img.shields.io/badge/fryntiz%2Fyii2--app--basic-stable-red.svg)](https://packagist\n.org/packages/fryntiz/yii2-app-basic)\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 project template that your Web server supports PHP 7.0.0.\n\n\nINSTALLATION\n------------\n\n### Install via Composer\n\n~~~\ncomposer create-project fryntiz/yii2-app-basic:dev-master --no-interaction basic\n~~~\n\nNow you should be able to access the application through the following URL,\nassuming `basic` is the directory directly under the Web root.\n\n~~~\nhttp://localhost/basic/web/\n~~~\n\nCONFIGURATION\n-------------\n\n### Database\n\nDb directory contents structure for database, you can install this db:\n\n```php\n    make db\n```\n\n**NOTES:**\nYou need create db first.\n\n\nTESTING\n-------\n\nTests are located in `tests` directory. They are developed with [Codeception PHP Testing Framework](http://codeception.com/).\nBy default there are 3 test suites:\n\n- `unit`\n- `functional`\n- `acceptance`\n\nTests can be executed by running\n\n```\nvendor/bin/codecept run\n```\n\nThe command above will execute unit and functional tests. Unit tests are testing the system components, while functional\ntests are for testing user interaction. Acceptance tests are disabled by default as they require additional setup since\nthey perform testing in real browser.\n\n\n### Running  acceptance tests\n\nTo execute acceptance tests do the following:  \n\n1. Rename `tests/acceptance.suite.yml.example` to `tests/acceptance.suite.yml` to enable suite configuration\n\n2. Replace `codeception/base` package in `composer.json` with `codeception/codeception` to install full featured\n   version of Codeception\n\n3. Update dependencies with Composer\n\n    ```\n    composer update  \n    ```\n\n4. Download [Selenium Server](http://www.seleniumhq.org/download/) and launch it:\n\n    ```\n    java -jar ~/selenium-server-standalone-x.xx.x.jar\n    ```\n\n    In case of using Selenium Server 3.0 with Firefox browser since v48 or Google Chrome since v53 you must download [GeckoDriver](https://github.com/mozilla/geckodriver/releases) or [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/downloads) and launch Selenium with it:\n\n    ```\n    # for Firefox\n    java -jar -Dwebdriver.gecko.driver=~/geckodriver ~/selenium-server-standalone-3.xx.x.jar\n\n    # for Google Chrome\n    java -jar -Dwebdriver.chrome.driver=~/chromedriver ~/selenium-server-standalone-3.xx.x.jar\n    ```\n\n    As an alternative way you can use already configured Docker container with older versions of Selenium and Firefox:\n\n    ```\n    docker run --net=host selenium/standalone-firefox:2.53.0\n    ```\n\n5. (Optional) Create `yii2_basic_tests` database and update it by applying migrations if you have them.\n\n   ```\n   tests/bin/yii migrate\n   ```\n\n   The database configuration can be found at `config/test_db.php`.\n\n\n6. Start web server:\n\n    ```\n    tests/bin/yii serve\n    ```\n\n7. Now you can run all available tests\n\n   ```\n   # run all available tests\n   vendor/bin/codecept run\n\n   # run acceptance tests\n   vendor/bin/codecept run acceptance\n\n   # run only unit and functional tests\n   vendor/bin/codecept run unit,functional\n   ```\n\n### Code coverage support\n\nBy default, code coverage is disabled in `codeception.yml` configuration file, you should uncomment needed rows to be able\nto collect code coverage. You can run your tests and collect coverage with the following command:\n\n```\n#collect coverage for all tests\nvendor/bin/codecept run -- --coverage-html --coverage-xml\n\n#collect coverage only for unit tests\nvendor/bin/codecept run unit -- --coverage-html --coverage-xml\n\n#collect coverage for unit and functional tests\nvendor/bin/codecept run functional,unit -- --coverage-html --coverage-xml\n```\n\nYou can see code coverage output under the `tests/_output` directory.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fraupulus%2Fyii2-app-basic","html_url":"https://awesome.ecosyste.ms/projects/gitlab.com%2Fraupulus%2Fyii2-app-basic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fraupulus%2Fyii2-app-basic/lists"}