{"id":21236026,"url":"https://github.com/nette-examples/books","last_synced_at":"2026-02-26T16:16:23.763Z","repository":{"id":91998360,"uuid":"316007590","full_name":"nette-examples/books","owner":"nette-examples","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-17T04:57:08.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T18:49:14.945Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/nette-examples.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":"2020-11-25T17:20:28.000Z","updated_at":"2024-12-17T04:57:12.000Z","dependencies_parsed_at":"2024-12-17T05:42:42.381Z","dependency_job_id":"28ad29f2-96d2-4b44-ba5a-2f70545938ff","html_url":"https://github.com/nette-examples/books","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nette-examples%2Fbooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nette-examples%2Fbooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nette-examples%2Fbooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nette-examples%2Fbooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nette-examples","download_url":"https://codeload.github.com/nette-examples/books/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243676774,"owners_count":20329434,"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":[],"created_at":"2024-11-21T00:05:52.836Z","updated_at":"2026-02-26T16:16:18.743Z","avatar_url":"https://github.com/nette-examples.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Nette DI Container Example\n==========================\n\nThis repository demonstrates the use of Nette's Dependency Injection (DI) Container.\n\n\nWhat is Dependency Injection (DI)?\n----------------------------------\n\nDependency Injection (DI) aims to decouple classes from the responsibility of obtaining the objects they require for their operation. Such required objects are referred to as **services**. For an in-depth understanding, refer to the official [Nette DI documentation](https://doc.nette.org/en/dependency-injection).\n\n\nInstallation\n------------\n\nFollow these steps to set up the example:\n\n1. Clone the repository:\n```shell\ngit clone https://github.com/nette-examples/books\n```\n\n2. Navigate to the project directory:\n```shell\ncd books\n```\n\n3. Install the required dependencies:\n```shell\ncomposer install\n```\n\nRunning the Demo\n----------------\n\nExecute the demo using the following command:\n\n```shell\nphp demo/demo.php\n```\n\nRequirements\n------------\n\nEnsure you have PHP version 7.2 or above installed to run the demo.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnette-examples%2Fbooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnette-examples%2Fbooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnette-examples%2Fbooks/lists"}