Skip to content

Commit b3008a6

Browse files
authored
Merge pull request #10 from coderflexx/patch-1
update README.md
2 parents 989aeb8 + 5ff82a6 commit b3008a6

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

README.md

+18-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@
66

77
A clean way to present your model attributes without putting them in the wrong file.
88

9+
10+
- [Laravel Presenter](#laravel-presenter)
11+
- [Installation](#installation)
12+
- [Usage](#usage)
13+
- [Model Implementation](#model-implementation)
14+
- [Create New Model Presenter class](#create-new-model-presenter-class)
15+
- [Using the `Presenter` Generated Class](#using-the-presenter-generated-class)
16+
- [Example](#example)
17+
- [Adding Another Presenter Type](#adding-another-presenter-type)
18+
- [Testing](#testing)
19+
- [Changelog](#changelog)
20+
- [Contributing](#contributing)
21+
- [Security Vulnerabilities](#security-vulnerabilities)
22+
- [Credits](#credits)
23+
- [License](#license)
24+
925
## Installation
1026

1127
You can install the package via composer:
@@ -155,8 +171,8 @@ $user->present()->fullName
155171
```
156172
Your application will show the full name from the method you added.
157173

158-
## Adding Another Presenter Type:
159-
Like I said above, by default the type will be `deafult` but, you can add more types as you need.
174+
## Adding Another Presenter Type
175+
Like I said above, by default the type will be `default` but, you can add more types as you need.
160176

161177
Here is an example:
162178

0 commit comments

Comments
 (0)