From ede7629f95ea2311ea6e00174e12f4be37634776 Mon Sep 17 00:00:00 2001 From: KHOUBZA Younes Date: Sun, 25 Apr 2021 10:09:31 +0000 Subject: [PATCH] add laravel helpers and fix blade compiler for laravel 4 --- Resources/functions/notyf.php | 22 ++++++++++++++++++++++ composer.json | 3 +++ 2 files changed, 25 insertions(+) create mode 100644 Resources/functions/notyf.php diff --git a/Resources/functions/notyf.php b/Resources/functions/notyf.php new file mode 100644 index 00000000..a646054e --- /dev/null +++ b/Resources/functions/notyf.php @@ -0,0 +1,22 @@ +addFlash($type, $message, $options); + } +} \ No newline at end of file diff --git a/composer.json b/composer.json index 67902dc9..affa1d8c 100644 --- a/composer.json +++ b/composer.json @@ -40,6 +40,9 @@ "psr-4": { "Flasher\\Notyf\\Laravel\\": "" }, + "files": [ + "Resources/functions/notyf.php" + ], "exclude-from-classmap": [ "/Tests/" ]