{"id":18794373,"url":"https://github.com/yiisolutions/vk-user-friends","last_synced_at":"2025-07-29T10:36:31.805Z","repository":{"id":96370741,"uuid":"72300094","full_name":"yiisolutions/vk-user-friends","owner":"yiisolutions","description":"VK sample web application","archived":false,"fork":false,"pushed_at":"2017-12-04T15:22:51.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-21T16:12:46.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://vk-user-friends-memclutter.herokuapp.com","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/yiisolutions.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-29T17:43:48.000Z","updated_at":"2018-02-08T20:42:39.000Z","dependencies_parsed_at":"2023-05-06T08:02:15.734Z","dependency_job_id":null,"html_url":"https://github.com/yiisolutions/vk-user-friends","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yiisolutions/vk-user-friends","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisolutions%2Fvk-user-friends","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisolutions%2Fvk-user-friends/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisolutions%2Fvk-user-friends/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisolutions%2Fvk-user-friends/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiisolutions","download_url":"https://codeload.github.com/yiisolutions/vk-user-friends/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisolutions%2Fvk-user-friends/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267671561,"owners_count":24125368,"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-07-29T02:00:12.549Z","response_time":2574,"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":[],"created_at":"2024-11-07T21:29:18.487Z","updated_at":"2025-07-29T10:36:31.776Z","avatar_url":"https://github.com/yiisolutions.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"VK User Friends\n===============\n\n[![Build Status](https://travis-ci.org/memclutter/vk-user-friends.svg?branch=master)](https://travis-ci.org/memclutter/vk-user-friends)\n\nREQUIREMENTS\n------------\n\nThe minimum requirement by this project that your Web server supports PHP 5.4.0.\n\n\nINSTALLATION\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~~~\ncomposer global require \"fxp/composer-asset-plugin:^1.2.0\"\ncomposer install\n~~~\n\nCopy `.env.dist` as `.env` and edit this file. Set database settings and vkontakte client id and secret. \n\nNext, apply migrations\n \n~~~\n./yii migrate --interactive=0\n~~~\n\nStart built-in web-server\n\n~~~\n./yii serve\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```\ncomposer exec 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\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   composer exec codecept run\n\n   # run acceptance tests\n   composer exec codecept run acceptance\n\n   # run only unit and functional tests\n   composer exec 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\ncomposer exec codecept run -- --coverage-html --coverage-xml\n\n#collect coverage only for unit tests\ncomposer exec codecept run unit -- --coverage-html --coverage-xml\n\n#collect coverage for unit and functional tests\ncomposer exec codecept run functional,unit -- --coverage-html --coverage-xml\n```\n\nYou can see code coverage output under the `tests/_output` directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisolutions%2Fvk-user-friends","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiisolutions%2Fvk-user-friends","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisolutions%2Fvk-user-friends/lists"}