Files
php-flasher/docs/_includes/_installation.md
T
2024-04-09 07:57:01 +00:00

37 lines
1010 B
Markdown

## <i class="fa-duotone fa-list-radio"></i> Installation
{% PHPFlasher %} is modular and consists of multiple libraries,
allowing users to install and use only the specific components they need for their project.
{% PHPFlasher %} can be installed using composer :
{% if 'laravel' == framework %}
**<i class="fa-brands fa-laravel text-red-900 fa-xl"></i> Laravel**:
```shell
composer require php-flasher/flasher-laravel
```
{% else %}
**<i class="fa-brands fa-symfony text-black fa-xl"></i> Symfony**:
```shell
{{ framework }}
composer require php-flasher/flasher-symfony
```
{% endif %}
---
{% PHPFlasher %} 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 :
* **[Toastr](/library/toastr/)**
* **[Noty](/library/noty/)**
* **[Notyf](/library/notyf/)**
* **[Sweet Alert](/library/sweetalert/)**
---
{% include _usage.md %}