Skip to content

Commit 1fb026f

Browse files
committed
Update guide
1 parent 14d986d commit 1fb026f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

readme.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ class Page extends Model {
3333
}
3434
```
3535

36+
## Пример использования
37+
```php
38+
$page = \App\Model\Page::findOrFail(1);
39+
40+
return view('{your_template}')
41+
->with('body', $page->html);
42+
```
43+
3644
## Ручная установка
3745

3846
Для Laravel выше 11 версии, добавьте в `bootstrap/providers.php`

0 commit comments

Comments
 (0)