Skip to content

Commit 088d3a0

Browse files
author
Ilya Sakovich
committed
wip
1 parent b1e20d1 commit 088d3a0

File tree

6 files changed

+26
-16
lines changed

6 files changed

+26
-16
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
vendor
2-
composer.lock
1+
/vendor
2+
composer.lock
3+
/.idea

docs/1.0/releases.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/1.0/upgrade.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/2.0/installation.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Installation
3+
section: Getting Started
4+
weight: 100
5+
---
6+
7+
## Basic installation
8+
9+
You can install this package via composer using this command:
10+
11+
```bash
12+
composer require coderello/laraflash
13+
```
14+
15+
After that you need to register the `\Coderello\Laraflash\Middleware\HandleLaraflash::class` middleware after the `\Illuminate\Session\Middleware\StartSession::class` one in the `app\Http\Kernel.php`
16+
17+
## Publishing the config
18+
19+
You can publish the config file with:
20+
21+
```bash
22+
php artisan vendor:publish --tag="laraflash-config"
23+
```

docs/2.0/releases.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/2.0/upgrade.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)