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
|
```shell
|
||||||
composer require php-flasher/flasher-laravel
|
composer require php-flasher/flasher-laravel
|
||||||
```
|
```
|
||||||
|
Then, run:
|
||||||
|
```shell
|
||||||
|
php artisan flasher:install
|
||||||
|
```
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
@@ -23,6 +27,10 @@ composer require php-flasher/flasher-laravel
|
|||||||
```shell
|
```shell
|
||||||
composer require php-flasher/flasher-symfony
|
composer require php-flasher/flasher-symfony
|
||||||
```
|
```
|
||||||
|
Then, run:
|
||||||
|
```shell
|
||||||
|
php bin/console flasher:install
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ data-controller: noty
|
|||||||
```shell
|
```shell
|
||||||
composer require php-flasher/flasher-noty-laravel
|
composer require php-flasher/flasher-noty-laravel
|
||||||
```
|
```
|
||||||
|
Then, run:
|
||||||
```shell
|
```shell
|
||||||
php artisan flasher:install
|
php artisan flasher:install
|
||||||
```
|
```
|
||||||
@@ -24,6 +25,7 @@ php artisan flasher:install
|
|||||||
```shell
|
```shell
|
||||||
composer require php-flasher/flasher-noty-symfony
|
composer require php-flasher/flasher-noty-symfony
|
||||||
```
|
```
|
||||||
|
Then, run:
|
||||||
```shell
|
```shell
|
||||||
php bin/console flasher:install
|
php bin/console flasher:install
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ data-controller: notyf
|
|||||||
```shell
|
```shell
|
||||||
composer require php-flasher/flasher-notyf-laravel
|
composer require php-flasher/flasher-notyf-laravel
|
||||||
```
|
```
|
||||||
|
Then, run:
|
||||||
```shell
|
```shell
|
||||||
php artisan flasher:install
|
php artisan flasher:install
|
||||||
```
|
```
|
||||||
@@ -24,6 +25,7 @@ php artisan flasher:install
|
|||||||
```shell
|
```shell
|
||||||
composer require php-flasher/flasher-notyf-symfony
|
composer require php-flasher/flasher-notyf-symfony
|
||||||
```
|
```
|
||||||
|
Then, run:
|
||||||
```shell
|
```shell
|
||||||
php bin/console flasher:install
|
php bin/console flasher:install
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ data-controller: sweetalert
|
|||||||
```shell
|
```shell
|
||||||
composer require php-flasher/flasher-sweetalert-laravel
|
composer require php-flasher/flasher-sweetalert-laravel
|
||||||
```
|
```
|
||||||
|
Then, run:
|
||||||
```shell
|
```shell
|
||||||
php artisan flasher:install
|
php artisan flasher:install
|
||||||
```
|
```
|
||||||
@@ -24,6 +25,7 @@ php artisan flasher:install
|
|||||||
```shell
|
```shell
|
||||||
composer require php-flasher/flasher-sweetalert-symfony
|
composer require php-flasher/flasher-sweetalert-symfony
|
||||||
```
|
```
|
||||||
|
Then, run:
|
||||||
```shell
|
```shell
|
||||||
php bin/console flasher:install
|
php bin/console flasher:install
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ data-controller: toastr
|
|||||||
```shell
|
```shell
|
||||||
composer require php-flasher/flasher-toastr-laravel
|
composer require php-flasher/flasher-toastr-laravel
|
||||||
```
|
```
|
||||||
|
Then, run:
|
||||||
```shell
|
```shell
|
||||||
php artisan flasher:install
|
php artisan flasher:install
|
||||||
```
|
```
|
||||||
@@ -24,6 +25,7 @@ php artisan flasher:install
|
|||||||
```shell
|
```shell
|
||||||
composer require php-flasher/flasher-toastr-symfony
|
composer require php-flasher/flasher-toastr-symfony
|
||||||
```
|
```
|
||||||
|
Then, run:
|
||||||
```shell
|
```shell
|
||||||
php bin/console flasher:install
|
php bin/console flasher:install
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -21,6 +21,10 @@ To integrate {% PHPFlasher %} with Livewire, follow the same installation steps
|
|||||||
```shell
|
```shell
|
||||||
composer require php-flasher/flasher-laravel
|
composer require php-flasher/flasher-laravel
|
||||||
```
|
```
|
||||||
|
Then, run:
|
||||||
|
```shell
|
||||||
|
php artisan flasher:install
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user