{"id":13405129,"url":"https://github.com/samdark/yiipowered","last_synced_at":"2025-10-25T22:12:32.492Z","repository":{"id":16336355,"uuid":"79733154","full_name":"samdark/yiipowered","owner":"samdark","description":"Yii powered websites showcase","archived":false,"fork":false,"pushed_at":"2023-07-31T17:36:54.000Z","size":590,"stargazers_count":90,"open_issues_count":6,"forks_count":35,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-07T07:42:59.870Z","etag":null,"topics":["hacktoberfest","showcase","yii"],"latest_commit_sha":null,"homepage":"http://yiipowered.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/samdark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"samdark","patreon":"samdark"}},"created_at":"2017-01-22T17:31:23.000Z","updated_at":"2025-04-01T07:55:18.000Z","dependencies_parsed_at":"2024-01-18T23:04:49.605Z","dependency_job_id":"61bc1156-57cc-4ba1-9080-9a30efc44c1d","html_url":"https://github.com/samdark/yiipowered","commit_stats":{"total_commits":186,"total_committers":17,"mean_commits":"10.941176470588236","dds":"0.20967741935483875","last_synced_commit":"5d53323e9026c57115236e1bbf39a1151bb68f54"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samdark%2Fyiipowered","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samdark%2Fyiipowered/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samdark%2Fyiipowered/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samdark%2Fyiipowered/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samdark","download_url":"https://codeload.github.com/samdark/yiipowered/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252116170,"owners_count":21697326,"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":["hacktoberfest","showcase","yii"],"created_at":"2024-07-30T19:01:56.173Z","updated_at":"2025-10-25T22:12:27.445Z","avatar_url":"https://github.com/samdark.png","language":"PHP","funding_links":["https://github.com/sponsors/samdark","https://patreon.com/samdark"],"categories":["PHP"],"sub_categories":[],"readme":"YiiPowered\n==========\n\nShowcase of Yii powered websites and projects.\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      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\nREQUIREMENTS\n------------\n\nThe minimum requirement by this project template that your Web server supports PHP 7.0.\n\n\nINSTALLATION (Locally)\n----------------------\n\n### 1. Framework and dependencies\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~~~\ncomposer install\n~~~\n\n\n### 2. Configs\n\nThere are more `.php-orig` sample configs in `config` directory. Copy these to `.php` without `-orig` and adjust to your\nneeds.\n\n### 3. Database\n\nCreate a database. By this moment you should have `config/db.php`. Specify your database connection there.\n\nThen apply migrations by running:\n\n```\nyii migrate\n```\n\n### 4. Permissions \n\nPermissions tree should be already initialized at step 3, so you can \nuse `user/assign` to assign roles to users:\n\n```\nyii user/assign alex admin\n```\n\nWill assign admin role to user with username=alex.\n\n### 5. You need LESS compiler in order to compile styles. In order to install it:\n\n- Install nodeJS\n- `npm install -g less`\n\n### 6. Cron\n\n```\n*/10 * * * * php yii queue/run \u003e /dev/null 2\u003e\u00261\n0 4 * * * php yii image/fetch \u003e /dev/null 2\u003e\u00261\n0 5 * * * php yii check/all \u003e /dev/null 2\u003e\u00261\n```\n\nINSTALLATION (Docker)\n---------------------\n\n1. `docker-compose up`.\n2. Add `yiipowered.test` to your hosts.\n3. There are `.php-orig` sample configs in `config` directory. Copy these to `.php` without `-orig` and adjust to your\n   needs.\n4. `docker exec -it yiipowered bash`.\n5. `composer install \u0026\u0026 php yii migrate`.\n6. Use `user/assign` to assign roles to users.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamdark%2Fyiipowered","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamdark%2Fyiipowered","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamdark%2Fyiipowered/lists"}