Skip to content

Commit 8bc62f5

Browse files
author
KHOUBZA Younes
committed
publish doc for v1.13
1 parent d177c05 commit 8bc62f5

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

_data/project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version: "1.11"
1+
version: "1.13"
22
title: "Easily add flash messages to your #Laravel or #Symfony projects with PHPFlasher - a powerful, easy-to-use package for improved user engagement & experience"
33
description: "PHPFlasher - A powerful & easy-to-use package for adding flash messages to Laravel or Symfony projects. Provides feedback to users, improves engagement & enhances user experience. Intuitive design for beginners & experienced developers. A reliable, flexible solution."

docs/laravel.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ composer require php-flasher/flasher-laravel
5151

5252
As optional, if you want to modify the default configuration, you can publish the configuration file:
5353

54-
```shell
55-
php artisan vendor:publish --tag=flasher-config
54+
```bash
55+
php artisan flasher:install
5656
```
5757

5858
The configuration file will be located at `config/flasher.php` and will have the following content:
@@ -99,7 +99,7 @@ return [
9999
| using npm.
100100
|
101101
| To use the local version of the library, run the following command:
102-
| php artisan vendor:publish --force --tag=flasher-assets
102+
| php artisan flasher:install
103103
|
104104
| This will copy the necessary assets to your application's public folder.
105105
| You can then specify the local path to the javascript file in the 'local'
@@ -121,7 +121,7 @@ return [
121121
|
122122
| If you decide to use local assets, don't forget to publish the necessary
123123
| files to your application's public folder by running the following command:
124-
| php artisan vendor:publish --force --tag=flasher-assets
124+
| php artisan flasher:install
125125
|
126126
| This will copy the necessary assets to your application's public folder.
127127
*/

docs/symfony.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,13 @@ composer require php-flasher/flasher-symfony
4848

4949
## <i class="fa-duotone fa-list-radio"></i> Configuration
5050

51-
As optional, if you want to modify the default configuration, you can copy and past the following the configuration file at `config/packages/flasher.yaml`
51+
As optional, if you want to modify the default configuration, you can publish the configuration file:
52+
53+
```bash
54+
php bin/console flasher:install
55+
```
56+
57+
The configuration file will be located at `config/packages/flasher.yaml` and will have the following content:
5258

5359
```yaml
5460
# config/packages/flasher.yaml
@@ -89,7 +95,7 @@ flasher:
8995
# using npm.
9096
#
9197
# To use the local version of the library, run the following command:
92-
# php artisan vendor:publish --force --tag=flasher-assets
98+
# php bin/console flasher:install
9399
#
94100
# This will copy the necessary assets to your application's public folder.
95101
# You can then specify the local path to the javascript file in the 'local'
@@ -109,7 +115,7 @@ flasher:
109115
#
110116
# If you decide to use local assets, don't forget to publish the necessary
111117
# files to your application's public folder by running the following command:
112-
# php artisan vendor:publish --force --tag=flasher-assets
118+
# php bin/console flasher:install
113119
#
114120
# This will copy the necessary assets to your application's public folder.
115121
#

0 commit comments

Comments
 (0)