Skip to content

Commit 5056b43

Browse files
authored
Merge pull request #15 from Howriq/main
Docs chapter 2
2 parents e9351cb + b08035b commit 5056b43

File tree

14 files changed

+524
-19
lines changed

14 files changed

+524
-19
lines changed

README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
11
# tutorial-101
22

33
Book tutorial starting from Dotkernel Light: Level 101 beginner
4-
5-
## BRANCH : - main unde e documentatia , se compileaza documentatia. aplicatie din light, deploy functional !!!! --> 101.dotkernel.net
6-
7-
1. instalezi light la tine pe WSL2
8-
2. iei chapter 1, citesti documentation, implementezi una cite una
9-
- CHAPTER-1-doctrine # protected - including Light, and add visible DIFF between branches
10-
- CHAPTER-2- forms # protected
11-
- CHAPTER-3- inputfilter # protected
12-
- CHAPTER-4 -list books # protected
13-
14-
main: incepi de la light , clone
15-
- adaigi folderul docs/book cu structura asta https://github.com/dotkernel/dot-session/tree/5.0/docs/book
16-
- cu fisier symlink si etc.

docs/book/v1/chapter-1.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The first step is to add alongside your current packages the required entries for our Doctrine installation.
66
We would add the following to our `composer.json` file located in our root folder:
77

8-
![composer.json](images/composer.png)
8+
![composer.json](images/chapter-1/composer.png)
99

1010
```text
1111
"dotkernel/dot-cache": "^4.0",
@@ -47,7 +47,7 @@ After successfully installing our dependencies, we now need to configure our Doc
4747

4848
In the file `config/autoload/local.php` the structure would be updated like this:
4949

50-
![local.php](images/local.png)
50+
![local.php](images/chapter-1/local.png)
5151

5252
```php
5353
$databases = [
@@ -84,9 +84,9 @@ This package takes all the provided configs from the `config/config.php` file an
8484

8585
Our new `src/App/src/ConfigProvider.php` class would look like this now:
8686

87-
![config-provider-1](images/config-provider-1.png)
87+
![config-provider-1](images/chapter-1/config-provider-1.png)
8888

89-
![config-provider-2](images/config-provider-2.png)
89+
![config-provider-2](images/chapter-1/config-provider-2.png)
9090

9191
```php
9292
public function __invoke(): array
@@ -165,7 +165,7 @@ private function getDoctrineConfig(): array
165165
Now that everything has been configured we only need to do one last thing, to create an executable for the Doctrine CLI.
166166
In our case we will create a `doctrine` file inside the application's `bin` directory:
167167

168-
![doctrine](images/doctrine.png)
168+
![doctrine](images/chapter-1/doctrine.png)
169169

170170
```php
171171
#!/usr/bin/env php

0 commit comments

Comments
 (0)