mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 15:07:47 +01:00
docs: add post installation command
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
## <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 %}
|
||||
@@ -16,6 +16,10 @@ allowing users to install and use only the specific components they need for the
|
||||
```shell
|
||||
composer require php-flasher/flasher-laravel
|
||||
```
|
||||
Then, run:
|
||||
```shell
|
||||
php artisan flasher:install
|
||||
```
|
||||
|
||||
<br />
|
||||
|
||||
@@ -23,6 +27,10 @@ composer require php-flasher/flasher-laravel
|
||||
```shell
|
||||
composer require php-flasher/flasher-symfony
|
||||
```
|
||||
Then, run:
|
||||
```shell
|
||||
php bin/console flasher:install
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ data-controller: noty
|
||||
```shell
|
||||
composer require php-flasher/flasher-noty-laravel
|
||||
```
|
||||
Then, run:
|
||||
```shell
|
||||
php artisan flasher:install
|
||||
```
|
||||
@@ -24,6 +25,7 @@ php artisan flasher:install
|
||||
```shell
|
||||
composer require php-flasher/flasher-noty-symfony
|
||||
```
|
||||
Then, run:
|
||||
```shell
|
||||
php bin/console flasher:install
|
||||
```
|
||||
|
||||
@@ -13,6 +13,7 @@ data-controller: notyf
|
||||
```shell
|
||||
composer require php-flasher/flasher-notyf-laravel
|
||||
```
|
||||
Then, run:
|
||||
```shell
|
||||
php artisan flasher:install
|
||||
```
|
||||
@@ -24,6 +25,7 @@ php artisan flasher:install
|
||||
```shell
|
||||
composer require php-flasher/flasher-notyf-symfony
|
||||
```
|
||||
Then, run:
|
||||
```shell
|
||||
php bin/console flasher:install
|
||||
```
|
||||
|
||||
@@ -13,6 +13,7 @@ data-controller: sweetalert
|
||||
```shell
|
||||
composer require php-flasher/flasher-sweetalert-laravel
|
||||
```
|
||||
Then, run:
|
||||
```shell
|
||||
php artisan flasher:install
|
||||
```
|
||||
@@ -24,6 +25,7 @@ php artisan flasher:install
|
||||
```shell
|
||||
composer require php-flasher/flasher-sweetalert-symfony
|
||||
```
|
||||
Then, run:
|
||||
```shell
|
||||
php bin/console flasher:install
|
||||
```
|
||||
|
||||
@@ -13,6 +13,7 @@ data-controller: toastr
|
||||
```shell
|
||||
composer require php-flasher/flasher-toastr-laravel
|
||||
```
|
||||
Then, run:
|
||||
```shell
|
||||
php artisan flasher:install
|
||||
```
|
||||
@@ -24,6 +25,7 @@ php artisan flasher:install
|
||||
```shell
|
||||
composer require php-flasher/flasher-toastr-symfony
|
||||
```
|
||||
Then, run:
|
||||
```shell
|
||||
php bin/console flasher:install
|
||||
```
|
||||
|
||||
@@ -21,6 +21,10 @@ To integrate {% PHPFlasher %} with Livewire, follow the same installation steps
|
||||
```shell
|
||||
composer require php-flasher/flasher-laravel
|
||||
```
|
||||
Then, run:
|
||||
```shell
|
||||
php artisan flasher:install
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user