{"id":21018168,"url":"https://github.com/slaff/learnzf2","last_synced_at":"2025-05-15T06:31:33.555Z","repository":{"id":146612011,"uuid":"12864114","full_name":"slaff/learnzf2","owner":"slaff","description":"Learn ZF2: Learning Zend Framework 2 by Example","archived":false,"fork":false,"pushed_at":"2015-11-09T15:18:07.000Z","size":1718,"stargazers_count":35,"open_issues_count":3,"forks_count":28,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-03T05:11:11.814Z","etag":null,"topics":["book-exercises","exam","learnzf2","php","zend-framework"],"latest_commit_sha":null,"homepage":null,"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/slaff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-16T10:01:49.000Z","updated_at":"2022-04-06T23:14:06.000Z","dependencies_parsed_at":"2023-04-12T11:03:52.333Z","dependency_job_id":null,"html_url":"https://github.com/slaff/learnzf2","commit_stats":null,"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slaff%2Flearnzf2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slaff%2Flearnzf2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slaff%2Flearnzf2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slaff%2Flearnzf2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slaff","download_url":"https://codeload.github.com/slaff/learnzf2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254288148,"owners_count":22045862,"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":["book-exercises","exam","learnzf2","php","zend-framework"],"created_at":"2024-11-19T10:24:00.142Z","updated_at":"2025-05-15T06:31:31.712Z","avatar_url":"https://github.com/slaff.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Learn ZF2\n=======================\n\"Learn ZF2\" (http://learnzf2.com) is a book dedicated to help you learn fast and easy Zend Framework 2.\n\nSource Code\n------------\nThe book is accompanied by source code from which you can learn by example.\nThe source is based on the ZendSkeletonApplication version 2.1.0.\nYou can get the latest version of the source code from its github repository:\nhttps://github.com/slaff/learnzf2\n\nThe book has two edition and this repository contains the source code for the second edition.\nIf you are looking for the source code of the first edition of the book take a look\nat that repository: https://github.com/slaff/learnzf2-v1\n\nZend Framework Book\n-------------------\nFor more information about the book and purchase options visit its official web site:\nhttp://learnzf2.com\n\nDevelopment Box\n---------------\nIf you do not feel comfortable with setting up the application and its environment then \nas a quick start you can use our [LearnZF2 dev box](https://github.com/slaff/learnzf2-box) which is using Vagrant and VirtualBox.\nIf you want to experiment with Zend Framework 2 and the upcoming PHP7 you can also use the LearnZF2 VM as described [here](https://github.com/slaff/learnzf2-box#php7).\n\nApplication\n-----------\n[![Build Status](https://travis-ci.org/slaff/learnzf2.svg?branch=master)](https://travis-ci.org/slaff/learnzf2)\nThe final version of the source code comes with ready to test Zend Framework 2 web\napplication with prefilled SQLite database.\n\nThe steps below are needed if you don't use the LearnZF2 dev box. \nBut we would strongly encourage you to take a look at these steps and understand their meaning.\n\n### Preparation ###\n\nIn order to get the dependant packages, like Zend Framework 2 for example, we have to \nrun the following commands once in the beginning.  \n\n```\ncd learnzf2/\n./composer.phar self-update\n./composer.phar install\n```\n\n### Run from PHP built-in server\nThe easiest way to run the code, if you have PHP 5.4 or newer is to type:\n```\ncd learnzf2/\nphp -S 127.0.0.1:8080 -t public/\n```\n\nAnd then open in your browser the following URL: http://127.0.0.1:8080/\n\n### Run from separate web server\nIn order to use the application with via separate web server(Apache, NGINX, etc) make sure that:\n\nThe data/db/tc.sqlite file is readable from the web server user.\nThe following commands can help you set the group to www-data and adjust the permissions.\n```\nchgrp www-data -R data/db\nchmod g+rx data/db\nchmod g+w data/db/tc.sqlite\n```\n\n### Application Users\nThere are two users that you can use.\n\n1. Admin user with email: admin@learnzf2.com and password admin123\n2. Member user with email: member@learnzf2.com and password member123.\n\nIf you want to take some of the sample exams that come with this application then\nyou have to login and go to Exam -\u003e List and choose one from the list.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslaff%2Flearnzf2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslaff%2Flearnzf2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslaff%2Flearnzf2/lists"}