Skip to content

nette-examples/books

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nette DI Container Example

This repository demonstrates the use of Nette's Dependency Injection (DI) Container.

What is Dependency Injection (DI)?

Dependency 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.

Installation

Follow these steps to set up the example:

  1. Clone the repository:
git clone https://github.com/nette-examples/books
  1. Navigate to the project directory:
cd books
  1. Install the required dependencies:
composer install

Running the Demo

Execute the demo using the following command:

php demo/demo.php

Requirements

Ensure you have PHP version 7.2 or above installed to run the demo.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published