Skip to content

Commit 2a25986

Browse files
author
KHOUBZA Younes
committed
move installation section into laravel page
1 parent 45e8758 commit 2a25986

File tree

13 files changed

+437
-85
lines changed

13 files changed

+437
-85
lines changed

_data/menu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<i class="fa-duotone fa-rocket"></i> Getting Started:
22
<i class="fa-duotone fa-book text-indigo-900 mr-1 fa-lg"></i> Introduction: '/'
3-
<i class="fa-duotone fa-download text-indigo-900 mr-1 fa-lg"></i> Installation: '/installation/'
4-
<i class="fa-brands fa-symfony fa-lg text-black mr-1"></i> Symfony: '/symfony/'
3+
# <i class="fa-duotone fa-download text-indigo-900 mr-1 fa-lg"></i> Installation: '/installation/'
4+
# <i class="fa-brands fa-symfony fa-lg text-black mr-1"></i> Symfony: '/symfony/'
55
<i class="fa-brands fa-laravel fa-lg text-red-900 mr-1"></i> Laravel: '/laravel/'
66
<i class="fa-duotone fa-ghost fa-lg text-pink-800 mr-1"></i> Livewire: '/livewire/'
77
<i class="fa-duotone fa-angles-right fa-lg text-indigo-900 mr-1"></i> Inertia: '/inertia/'

_includes/_installation.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## <i class="fa-duotone fa-list-radio"></i> Installation
2+
3+
**<span class="text-indigo-900">PHP<span class="text-indigo-500">Flasher</span></span>** is modular and consists of multiple libraries,
4+
allowing users to install and use only the specific components they need for their project.
5+
6+
**<span class="text-indigo-900">PHP<span class="text-indigo-500">Flasher</span></span>** can be installed using composer :
7+
8+
{% if 'laravel' == framework %}
9+
10+
**<i class="fa-brands fa-laravel text-red-900 fa-xl"></i> Laravel**:
11+
```shell
12+
composer require php-flasher/flasher-laravel
13+
```
14+
15+
{% else %}
16+
17+
**<i class="fa-brands fa-symfony text-black fa-xl"></i> Symfony**:
18+
```shell
19+
{{ framework }}
20+
composer require php-flasher/flasher-symfony
21+
```
22+
23+
{% endif %}
24+
25+
---
26+
27+
**<span class="text-indigo-900">PHP<span class="text-indigo-500">Flasher</span></span>** includes a default notification style <i class="fa-duotone fa-comment-captions text-yellow-600"></i>, but users can also install additional adapters to customize the appearance of notifications within their projects such as :
28+
29+
* **[Toastr](/docs/adapter/toastr/)**
30+
* **[Noty](/docs/adapter/noty/)**
31+
* **[Notyf](/docs/adapter/notyf/)**
32+
* **[Sweet Alert](/docs/adapter/sweetalert/)**
33+
* **[Pnotify](/docs/adapter/pnotify/)**
34+
35+
---
36+
37+
{% include _usage.md %}

0 commit comments

Comments
 (0)