{"id":13343501,"url":"https://github.com/wyntonfranklin/yii-tutorial","last_synced_at":"2026-02-12T03:07:10.650Z","repository":{"id":113781026,"uuid":"163733231","full_name":"wyntonfranklin/yii-tutorial","owner":"wyntonfranklin","description":"A tutorial using the yii2 framework","archived":false,"fork":false,"pushed_at":"2019-01-03T21:20:41.000Z","size":1569,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-02T23:33:58.594Z","etag":null,"topics":["tutorial-sourcecode","yii","yii2-framework"],"latest_commit_sha":null,"homepage":"https://wftutorials.wordpress.com/2019/01/02/the-yii2-tutorial/","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/wyntonfranklin.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":"2019-01-01T11:55:51.000Z","updated_at":"2022-02-20T18:04:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b723b73-2bf0-4916-94b6-72e34be034db","html_url":"https://github.com/wyntonfranklin/yii-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wyntonfranklin/yii-tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyntonfranklin%2Fyii-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyntonfranklin%2Fyii-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyntonfranklin%2Fyii-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyntonfranklin%2Fyii-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wyntonfranklin","download_url":"https://codeload.github.com/wyntonfranklin/yii-tutorial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyntonfranklin%2Fyii-tutorial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29355950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T01:03:07.613Z","status":"online","status_checked_at":"2026-02-12T02:00:06.911Z","response_time":55,"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":["tutorial-sourcecode","yii","yii2-framework"],"created_at":"2024-07-29T19:31:22.538Z","updated_at":"2026-02-12T03:07:10.623Z","avatar_url":"https://github.com/wyntonfranklin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yii 2 Tutorial\n\nThis is a simple Yii 2 tutorial. It is build from the Yii 2 Basic Project template described as being best for rapidly creating small projects. In this tutorial I created a gallery using bootstrap 4. You can add items to the gallery, edit, view and delete. You can login and logout to view different changes.\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\nYou can see the walk-through via - https://wftutorials.wordpress.com/2019/01/02/the-yii2-tutorial/\n\n### Preview\n\n![https://wftutorials.files.wordpress.com/2019/01/yii_gallery_screenshot_3.png](https://wftutorials.files.wordpress.com/2019/01/yii_gallery_screenshot_3.png)\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 5.4.0.\n\n\n\nINSTALLATION\n------------\n\nClone or Download the application to your desktop.\n\n```\ngit clone https://github.com/wyntonfranklin/yii-tutorial.git\n```\n\nRun this command from the directory in which you want to install the tutorial. This will download all the composer dependencies.\n\n```\nphp composer.phar install\n```\n\nYou'll want to:\n\n- Point your virtual host document root to your new application's `web/` directory.\n- Ensure `assets/` is web writable and that `runtime/`is writable.\n\n\n\n## Features\n\n- Create new gallery item\n- Edit gallery item\n- View gallery item\n- Delete gallery item\n- Login and Logout\n\n\n\n## Topics Covered\n\n- Creating tables using migrations\n- Create models and controllers using Gii\n- Create a user identity for login and authentication\n- Using twig views\n- Using components like db and url manager\n- Application setup and base directory\n- Yii Helpers\n- Forms\n- Assets\n- Flash\n- Access Control\n\n\n\n### Resources\n\nBootstrap template - https://v4-alpha.getbootstrap.com/examples/album/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwyntonfranklin%2Fyii-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwyntonfranklin%2Fyii-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwyntonfranklin%2Fyii-tutorial/lists"}