From 1a90c1347e08b4489e5262d4d115823e647b73fd Mon Sep 17 00:00:00 2001 From: Younes ENNAJI Date: Sat, 21 Sep 2024 23:12:03 +0100 Subject: [PATCH] docs: update livewire doc page --- docs/pages/livewire.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/docs/pages/livewire.md b/docs/pages/livewire.md index 6c8f9197..ea62410e 100644 --- a/docs/pages/livewire.md +++ b/docs/pages/livewire.md @@ -1,11 +1,11 @@ --- permalink: /livewire/ title: Livewire -description: Learn how to seamlessly integrate flash notification messages into your Livewire application with PHPFlasher. Follow our step-by-step guide to install and use the library in your project, and start engaging and informing your users with powerful flash messages. +description: Learn how to easily add flash notification messages to your Livewire application with PHPFlasher. Follow our step-by-step guide to install and use the library in your project, and start engaging and informing your users with powerful flash messages. adapter: flasher --- -PHPFlasher provides a seamless integration with Livewire v3. +**PHPFlasher** works seamlessly with Livewire v3. ## Requirements @@ -16,13 +16,13 @@ adapter: flasher ## Installation -To integrate PHPFlasher with Livewire, follow the same installation steps as for the [Laravel Installation](/laravel) package. +To use **PHPFlasher** with Livewire, follow the same installation steps as in the [Laravel Installation](/laravel) guide. ```shell composer require php-flasher/flasher-laravel ``` -After installation, you need to run another command to set up the necessary assets for PHPFlasher: +After installing, run this command to set up the required assets: ```shell php artisan flasher:install @@ -64,7 +64,7 @@ class UserComponent extends Component ## Events -For sweetalert you can listen to `sweetalert:confirmed`, `sweetalert:denied` and `sweetalert:dismissed` from withing you component +For SweetAlert, you can listen to `sweetalert:confirmed`, `sweetalert:denied`, and `sweetalert:dismissed` events within your component.