From 4c5e78f1cafe3cc2f6fef9f1b2dd8bc1185afb98 Mon Sep 17 00:00:00 2001 From: panchania83 <95633879+panchania83@users.noreply.github.com> Date: Tue, 25 Apr 2023 19:05:57 +0530 Subject: [PATCH 1/7] upgrade version. --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 2680b61..74c4aa0 100644 --- a/composer.json +++ b/composer.json @@ -16,8 +16,8 @@ ], "require": { "php" : "^7.1", - "illuminate/session": "^5.4", - "illuminate/support": "^5.4" + "illuminate/session": "^7.3", + "illuminate/support": "^7.3" }, "autoload": { "psr-4": { From 3e606afa4dd7a6f2a59ff377475c933f619ef917 Mon Sep 17 00:00:00 2001 From: panchania83 <95633879+panchania83@users.noreply.github.com> Date: Tue, 25 Apr 2023 19:29:06 +0530 Subject: [PATCH 2/7] update to access local. --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index 74c4aa0..1d309c7 100644 --- a/composer.json +++ b/composer.json @@ -8,6 +8,7 @@ "laravel alerts", "alerts" ], + "minimum-stability": "dev", "authors": [ { "name": "Danny Carrillo", From 678cd2662ab0dd5c01d72fc4de4b75d09c3ef1c3 Mon Sep 17 00:00:00 2001 From: panchania83 <95633879+panchania83@users.noreply.github.com> Date: Tue, 25 Apr 2023 19:44:35 +0530 Subject: [PATCH 3/7] change package name. --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 1d309c7..ef5fa6d 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { - "name": "odannyc/laravel-alertify", + "name": "panchania83/laravel-alertify", "description": "An alertify package for Laravel", - "homepage": "https://github.com/odannyc/laravel-alertify", + "homepage": "https://github.com/panchania83/laravel-alertify", "keywords": [ "odannyc", "alertify", From c959b30d70166c29424cb5c5f6e1c4c4ea491c6f Mon Sep 17 00:00:00 2001 From: panchania83 <95633879+panchania83@users.noreply.github.com> Date: Wed, 26 Apr 2023 10:55:22 +0530 Subject: [PATCH 4/7] Update Information --- LICENSE.md | 2 +- README.md | 6 +++--- composer.json | 8 ++++---- composer.lock | 25 +++++------------------- src/Alertify/Alertify.php | 6 +++--- src/Alertify/AlertifyNotifier.php | 6 +++--- src/Alertify/AlertifyServiceProvider.php | 8 ++++---- src/Alertify/Log.php | 4 ++-- src/Alertify/functions.php | 6 +++--- src/views/alertify.blade.php | 4 ++-- 10 files changed, 30 insertions(+), 45 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 81885b7..17dc317 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2017 Danny Carrillo +Copyright (c) 2017 Panchania83 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 1c1db86..fa56c17 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ alertify()->success("The laravel-alertify package is awesome!"); ## Installation This package uses composer, so require it like so: ``` -composer require odannyc/laravel-alertify +composer require panchania83/laravel-alertify ``` You'll also need to pull in the `alertify.js` project. This is located here: https://alertifyjs.org/ @@ -27,14 +27,14 @@ Or include the CDN version of it in your `app.blade.php` template. (File may var Include the service provider in `config/app.php`: ```php 'providers' => [ - odannyc\Alertify\AlertifyServiceProvider::class, + panchania83\Alertify\AlertifyServiceProvider::class, ]; ``` Also, include the Alias in `config/app.php` ```php 'aliases' => [ - 'Alertify' => odannyc\Alertify\Alertify::class, + 'Alertify' => panchania83\Alertify\Alertify::class, ]; ``` diff --git a/composer.json b/composer.json index ef5fa6d..e6c2a89 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "An alertify package for Laravel", "homepage": "https://github.com/panchania83/laravel-alertify", "keywords": [ - "odannyc", + "panchania83", "alertify", "laravel alerts", "alerts" @@ -11,8 +11,8 @@ "minimum-stability": "dev", "authors": [ { - "name": "Danny Carrillo", - "email": "odannycx@gmail.com" + "name": "Panchani Ankit", + "email": "panchania83@gmail.com" } ], "require": { @@ -22,7 +22,7 @@ }, "autoload": { "psr-4": { - "odannyc\\Alertify\\": "src/Alertify/" + "panchania83\\Alertify\\": "src/Alertify/" }, "files": [ "src/Alertify/functions.php" diff --git a/composer.lock b/composer.lock index 354590b..1381c83 100644 --- a/composer.lock +++ b/composer.lock @@ -21,10 +21,10 @@ "shasum": "" }, "require": { - "php": ">=5.3.2" + "php": "^7.2.5|^8.0" }, "require-dev": { - "phpunit/phpunit": "4.*" + "phpunit/phpunit": "^8.5.8|^9.3.3" }, "type": "library", "extra": { @@ -43,25 +43,10 @@ ], "authors": [ { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" + "name": "Panchani Ankit", + "email": "panchania83@gmail.com" } + ], "description": "Common String Manipulations with regard to casing and singular/plural rules.", "homepage": "http://www.doctrine-project.org", diff --git a/src/Alertify/Alertify.php b/src/Alertify/Alertify.php index da2337b..e78553c 100644 --- a/src/Alertify/Alertify.php +++ b/src/Alertify/Alertify.php @@ -1,10 +1,10 @@ + * @author Panchani Ankit * @package laravel-alertify */ -namespace odannyc\Alertify; +namespace panchania83\Alertify; use Illuminate\Support\Facades\Facade; @@ -17,6 +17,6 @@ class Alertify extends Facade */ protected static function getFacadeAccessor() { - return 'odannyc.alertify'; + return 'panchania83.alertify'; } } diff --git a/src/Alertify/AlertifyNotifier.php b/src/Alertify/AlertifyNotifier.php index 2ff365b..dfa0efb 100644 --- a/src/Alertify/AlertifyNotifier.php +++ b/src/Alertify/AlertifyNotifier.php @@ -1,10 +1,10 @@ + * @author Panchani Ankit * @package laravel-alertify */ -namespace odannyc\Alertify; +namespace panchania83\Alertify; use Illuminate\Session\Store; @@ -39,7 +39,7 @@ public function __construct(Store $session) */ public function flash(): void { - $this->session->flash('odannyc.alertify.logs', $this->logs); + $this->session->flash('panchania83.alertify.logs', $this->logs); } /** diff --git a/src/Alertify/AlertifyServiceProvider.php b/src/Alertify/AlertifyServiceProvider.php index e0835dd..58c56f3 100644 --- a/src/Alertify/AlertifyServiceProvider.php +++ b/src/Alertify/AlertifyServiceProvider.php @@ -1,10 +1,10 @@ + * @author Panchani Ankit * @package laravel-alertify */ -namespace odannyc\Alertify; +namespace panchania83\Alertify; use Illuminate\Support\ServiceProvider; @@ -17,8 +17,8 @@ class AlertifyServiceProvider extends ServiceProvider */ public function register() { - $this->app->singleton('odannyc.alertify', function () { - return $this->app->make('odannyc\Alertify\AlertifyNotifier'); + $this->app->singleton('panchania83.alertify', function () { + return $this->app->make('panchania83\Alertify\AlertifyNotifier'); }); } diff --git a/src/Alertify/Log.php b/src/Alertify/Log.php index 1958b17..8764329 100644 --- a/src/Alertify/Log.php +++ b/src/Alertify/Log.php @@ -1,10 +1,10 @@ + * @author Panchani Ankit * @package laravel-alertify */ -namespace odannyc\Alertify; +namespace panchania83\Alertify; class Log { diff --git a/src/Alertify/functions.php b/src/Alertify/functions.php index f9ed553..25bd7b5 100644 --- a/src/Alertify/functions.php +++ b/src/Alertify/functions.php @@ -1,6 +1,6 @@ + * @author Panchani Ankit * @package laravel-alertify */ @@ -10,11 +10,11 @@ * * @param string|null $message * - * @return \odannyc\Alertify\AlertifyNotifier + * @return \panchania83\Alertify\AlertifyNotifier */ function alertify($message = null) { - $notifier = app('odannyc.alertify'); + $notifier = app('panchania83.alertify'); if (!is_null($message)) { return $notifier->standard($message); } diff --git a/src/views/alertify.blade.php b/src/views/alertify.blade.php index c388e23..ba37055 100644 --- a/src/views/alertify.blade.php +++ b/src/views/alertify.blade.php @@ -1,6 +1,6 @@ -@if (Session::has('odannyc.alertify.logs')) +@if (Session::has('panchania83.alertify.logs'))