From 003da535205585652ab8fca2919bc6b64fdf22b2 Mon Sep 17 00:00:00 2001 From: Luckas Fiege Date: Mon, 4 Mar 2019 11:10:31 -0300 Subject: [PATCH 01/22] Update Laravel to 5.8 --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index c8055ee..890aeea 100644 --- a/composer.json +++ b/composer.json @@ -10,8 +10,8 @@ ], "require": { "php": ">=7.1.3", - "laravelcollective/html": "5.7.*", - "illuminate/translation": "5.7.*" + "laravelcollective/html": "5.8.*", + "illuminate/translation": "5.8.*" }, "require-dev": { "phpspec/phpspec": "~4.0" From b93eda3606edf049dc579c6b9c903cbcf0605d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Clemir=20Rond=C3=B3n?= Date: Mon, 4 Mar 2019 11:27:05 -0400 Subject: [PATCH 02/22] Update for Laravel 5.8: docs and use Arr::get instead of array_get --- LEEME.md | 8 ++++++-- README.md | 8 ++++++-- src/HtmlServiceProvider.php | 15 ++++++++------- 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/LEEME.md b/LEEME.md index 4ff755b..795401b 100644 --- a/LEEME.md +++ b/LEEME.md @@ -13,6 +13,10 @@ Styde Html es una extensión del [paquete HTML de Laravel Collective](https://gi 1. La mejor forma de instalar este paquete es a través de Composer. +**Para Laravel 5.8**: + +Instala ejecutando `composer require "styde/html=~1.7"` o agregando `"styde/html": "~1.7"` a tu archivo `composer.json` y luego ejecuta `composer update`. + **Para Laravel 5.7**: Instala ejecutando `composer require "styde/html=~1.6"` o agregando `"styde/html": "~1.6"` a tu archivo `composer.json` y luego ejecuta `composer update`. @@ -51,10 +55,10 @@ Instala ejecutando `composer require "styde/html=~1.0"` o agregando `"styde/html ], ``` -3. Agrega el middleware `\Styde\Html\Alert\Middleware::class` **ANTES** del middleware `EncryptCookies` que se encuentra en el array `$middleware` (si es Laravel 5.1, 5.2 y 5.3) o en el array `$middlewareGroups` (en Laravel 5.4) del archivo `app/Http/Kernel.php` : +3. Agrega el middleware `\Styde\Html\Alert\Middleware::class` **ANTES** del middleware `EncryptCookies` que se encuentra en el array `$middleware` (si es Laravel 5.1, 5.2 y 5.3) o en el array `$middlewareGroups` (en Laravel 5.4 y posteriores) del archivo `app/Http/Kernel.php` : ```php -// Para Laravel 5.4 +// Para Laravel 5.4 y posteriores protected $middlewareGroups = [ \Styde\Html\Alert\Middleware::class, //... diff --git a/README.md b/README.md index 43ba844..70b85e3 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,10 @@ This is an extension of the Laravel Collective [HTML package](https://github.com 1. The preferred way to install this package is through Composer: +**Laravel 5.8 users**: + +Install by running `composer require "styde/html=~1.7"` or adding `"styde/html": "~1.7"` to your `composer.json` file and then running `composer update`. + **Laravel 5.7 users**: Install by running `composer require "styde/html=~1.6"` or adding `"styde/html": "~1.6"` to your `composer.json` file and then running `composer update`. @@ -56,10 +60,10 @@ Install by running `composer require "styde/html=~1.0"` or adding `"styde/html": ], ``` -3. Also, you need to register in the `app/Http/Kernel.php` file the `\Styde\Html\Alert\Middleware::class` middleware **BEFORE** the `EncryptCookies` middleware. For Laravel 5.4, it's in the `$middlewareGroups` array and for previous versions (Laravel 5.3, 5.2, 5.1) it's in the `$middleware` array: +3. Also, you need to register in the `app/Http/Kernel.php` file the `\Styde\Html\Alert\Middleware::class` middleware **BEFORE** the `EncryptCookies` middleware. For Laravel 5.4 and later, it's in the `$middlewareGroups` array and for previous versions (Laravel 5.3, 5.2, 5.1) it's in the `$middleware` array: ```php -// For Laravel 5.4 and 5.5 +// For Laravel 5.4 and later protected $middlewareGroups = [ \Styde\Html\Alert\Middleware::class, //... diff --git a/src/HtmlServiceProvider.php b/src/HtmlServiceProvider.php index 5638971..0e72a2a 100644 --- a/src/HtmlServiceProvider.php +++ b/src/HtmlServiceProvider.php @@ -2,16 +2,17 @@ namespace Styde\Html; -use Styde\Html\Menu\Menu; -use Styde\Html\Menu\MenuGenerator; -use Styde\Html\Access\AccessHandler; +use Collective\Html\HtmlServiceProvider as ServiceProvider; +use Illuminate\Contracts\Auth\Access\Gate; use Illuminate\Foundation\AliasLoader; -use Styde\Html\Alert\Container as Alert; +use Illuminate\Support\Arr; +use Styde\Html\Access\AccessHandler; use Styde\Html\Access\BasicAccessHandler; -use Illuminate\Contracts\Auth\Access\Gate; +use Styde\Html\Alert\Container as Alert; use Styde\Html\Alert\Middleware as AlertMiddleware; use Styde\Html\Alert\SessionHandler as AlertSessionHandler; -use Collective\Html\HtmlServiceProvider as ServiceProvider; +use Styde\Html\Menu\Menu; +use Styde\Html\Menu\MenuGenerator; class HtmlServiceProvider extends ServiceProvider { @@ -89,7 +90,7 @@ protected function loadConfigurationOptions() $this->options = $this->app->make('config')->get('html'); - $this->options['theme_values'] = array_get($this->options['themes'], $this->options['theme']); + $this->options['theme_values'] = Arr::get($this->options['themes'], $this->options['theme']); unset ($this->options['themes']); } From cd160a1313569424359358b69615a04c1f5a870d Mon Sep 17 00:00:00 2001 From: "Nelson Efrain A. Cruz" Date: Thu, 4 Apr 2019 17:36:58 -0300 Subject: [PATCH 03/22] Persist the alert messages in the handler of the middleware Moves the persistence of the alert messages to the "handler" method of the Alert middleware. In laravel 5.8 the sesion is saved during the "handler" method of \Illuminate\Session\Middleware\StartSession and not in the "terminate" method (this was the previous behaviour). If the persistence of the messages is done in the "terminate" method, the messages are pushed to the session but are never saved to the persistence layer of the session. So if you call an Alert::message() before a redirect, the messages are not saved for the next request. --- src/Alert/Middleware.php | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/src/Alert/Middleware.php b/src/Alert/Middleware.php index a1fab9d..691b9c2 100644 --- a/src/Alert/Middleware.php +++ b/src/Alert/Middleware.php @@ -21,8 +21,9 @@ public function __construct(Container $alert) } /** - * This is just a requisite of the framework's middleware. - * We are not doing anything special here. + * Call the push method of the Alert Container object, which will get the + * messages in array format (raw), and persist them using the Alert Handler + * implementation. * * @param $request * @param \Closure $next @@ -30,20 +31,11 @@ public function __construct(Container $alert) */ public function handle($request, \Closure $next) { - return $next($request); - } + $response = $next($request); - /** - * Call the push method of the Alert Container object, which will get the - * messages in array format (raw), and persist them using the Alert Handler - * implementation. - * - * @param $request - * @param $response - */ - public function terminate($request, $response) - { $this->alert->push(); + + return $response; } -} \ No newline at end of file +} From 1287b62c1f3d97b5934934b8e16646ed54f24e5a Mon Sep 17 00:00:00 2001 From: "Nelson Efrain A. Cruz" Date: Thu, 4 Apr 2019 18:40:07 -0300 Subject: [PATCH 04/22] Updates installation info for Laravel 5.8 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 70b85e3..1d827a6 100644 --- a/README.md +++ b/README.md @@ -60,11 +60,12 @@ Install by running `composer require "styde/html=~1.0"` or adding `"styde/html": ], ``` -3. Also, you need to register in the `app/Http/Kernel.php` file the `\Styde\Html\Alert\Middleware::class` middleware **BEFORE** the `EncryptCookies` middleware. For Laravel 5.4 and later, it's in the `$middlewareGroups` array and for previous versions (Laravel 5.3, 5.2, 5.1) it's in the `$middleware` array: +3. Also, you need to register in the `app/Http/Kernel.php` file the `\Styde\Html\Alert\Middleware::class` middleware **BEFORE** the `EncryptCookies` middleware, for Laravel 5.8 and later the middleware needs to be registered **AFTER** the `StartSession` middleware. For Laravel 5.4 and later, it's in the `$middlewareGroups` array and for previous versions (Laravel 5.3, 5.2, 5.1) it's in the `$middleware` array: ```php // For Laravel 5.4 and later protected $middlewareGroups = [ + // For Laravel 5.8 and later this needs to be after the StartSession middleware \Styde\Html\Alert\Middleware::class, //... ]; From b9a07299493067da8d21dd956b6755f2c4c31ae1 Mon Sep 17 00:00:00 2001 From: Duilio Palacios Date: Wed, 4 Sep 2019 11:01:21 +0100 Subject: [PATCH 05/22] Upgrade to Laravel 6 --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 890aeea..40b9e7c 100644 --- a/composer.json +++ b/composer.json @@ -9,9 +9,9 @@ } ], "require": { - "php": ">=7.1.3", - "laravelcollective/html": "5.8.*", - "illuminate/translation": "5.8.*" + "php": "^7.2", + "laravelcollective/html": "^6.0", + "illuminate/translation": "^6.0" }, "require-dev": { "phpspec/phpspec": "~4.0" From 4fcb3cd90f808f88c418c16268facc083d233904 Mon Sep 17 00:00:00 2001 From: Duilio Palacios Date: Wed, 4 Sep 2019 11:09:39 +0100 Subject: [PATCH 06/22] Use PHP7.2 in Travis --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ddfde3d..0f3aeb6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: php php: - - 7.1 + - 7.2 sudo: false @@ -13,4 +13,4 @@ script: - vendor/bin/phpspec matrix: - fast_finish: true \ No newline at end of file + fast_finish: true From ac97df8ceef173bc3e6a1fac58efa8df4773c269 Mon Sep 17 00:00:00 2001 From: Duilio Palacios Date: Wed, 4 Sep 2019 11:15:07 +0100 Subject: [PATCH 07/22] Update README.md --- README.md | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 1d827a6..8bffd39 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,10 @@ This is an extension of the Laravel Collective [HTML package](https://github.com 1. The preferred way to install this package is through Composer: +**Laravel 6.0 users**: + +Install by running `composer require "styde/html=~1.8"` or adding `"styde/html": "~1.8"` to your `composer.json` file and then running `composer update`. + **Laravel 5.8 users**: Install by running `composer require "styde/html=~1.7"` or adding `"styde/html": "~1.7"` to your `composer.json` file and then running `composer update`. @@ -34,22 +38,6 @@ Install by running `composer require "styde/html=~1.5"` or adding `"styde/html": Install by running `composer require "styde/html=~1.4"` or adding `"styde/html": "~1.4"` to your `composer.json` file and then running `composer update`. -**Laravel 5.4 users**: - -Install by running `composer require "styde/html=~1.3"` or adding `"styde/html": "~1.3"` to your `composer.json` file and then running `composer update`. - -**Laravel 5.3 users**: - -Install by running `composer require "styde/html=~1.2"` or adding `"styde/html": "~1.2"` to your `composer.json` file and then running `composer update`. - -**Laravel 5.2 users**: - -Install by running `composer require "styde/html=~1.1"` or adding `"styde/html": "~1.1"` to your `composer.json` file and then running `composer update`. - -**Laravel 5.1 users**: - -Install by running `composer require "styde/html=~1.0"` or adding `"styde/html": "~1.0"` to your `composer.json` file and then running `composer update`. - 2. Next, add the new provider to the `providers` array in `config/app.php` (this step is not necessary if you are using Laravel 5.5 with package auto-discovery) ```php From 3bbcd3b29fb69ed3cb4280d352c02ebd75610701 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Israel=20Ortu=C3=B1o?= Date: Fri, 4 Oct 2019 13:59:37 +0200 Subject: [PATCH 08/22] Let publish files independently using groups --- src/HtmlServiceProvider.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/HtmlServiceProvider.php b/src/HtmlServiceProvider.php index 0e72a2a..3fe3207 100644 --- a/src/HtmlServiceProvider.php +++ b/src/HtmlServiceProvider.php @@ -43,13 +43,13 @@ public function boot() { $this->loadViewsFrom(__DIR__.'/../themes', 'styde.html'); - $this->publishes([ - __DIR__.'/../themes' => base_path('resources/views/themes'), - ]); + $this->publishes( + [__DIR__.'/../themes' => base_path('resources/views/themes')], 'styde-html-themes' + ); - $this->publishes([ - __DIR__.'/../config.php' => config_path('html.php'), - ]); + $this->publishes( + [__DIR__.'/../config.php' => config_path('html.php')], 'styde-html-config' + ); } protected function mergeDefaultConfiguration() From 8dcdcdeaef88902c56e4bc3328c1b8e9594dec95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Israel=20Ortu=C3=B1o?= Date: Thu, 17 Oct 2019 12:12:42 +0200 Subject: [PATCH 09/22] Fixed typo Preventing errors when copy/pasting examples --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8bffd39..4acd696 100644 --- a/README.md +++ b/README.md @@ -184,7 +184,7 @@ This component will allow you to generate complex alert messages. ```php Alert::info('Your account is about to expire') ->details('Renew now to learn about:') - ->items(['Laravel', 'PHP, 'And more!']) + ->items(['Laravel', 'PHP', 'And more!']) ->button('Renew now!', url('renew'), 'primary'); ``` From 2309f0960a6e3bc1592b5958082b91981b2a87ab Mon Sep 17 00:00:00 2001 From: Duilio Palacios Date: Wed, 19 Feb 2020 18:16:57 +0000 Subject: [PATCH 10/22] Fix: Undefined index: theme #129 --- src/HtmlServiceProvider.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/HtmlServiceProvider.php b/src/HtmlServiceProvider.php index 3fe3207..ede5f39 100644 --- a/src/HtmlServiceProvider.php +++ b/src/HtmlServiceProvider.php @@ -52,13 +52,6 @@ public function boot() ); } - protected function mergeDefaultConfiguration() - { - $this->mergeConfigFrom( - __DIR__.'/../config.php', 'html' - ); - } - /** * Register the service provider. */ @@ -66,6 +59,8 @@ public function register() { parent::register(); + $this->mergeConfigFrom(__DIR__.'/../config.php', 'html'); + $this->registerAccessHandler(); $this->registerFieldBuilder(); @@ -86,8 +81,6 @@ protected function loadConfigurationOptions() { if ( ! empty($this->options)) return; - $this->mergeDefaultConfiguration(); - $this->options = $this->app->make('config')->get('html'); $this->options['theme_values'] = Arr::get($this->options['themes'], $this->options['theme']); From 1019433f61d8a1657cf7268509d160a0f3d2ecd2 Mon Sep 17 00:00:00 2001 From: Duilio Palacios Date: Wed, 4 Mar 2020 12:17:40 +0000 Subject: [PATCH 11/22] Create FUNDING.yml --- .github/FUNDING.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..8bb0a46 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [Stydenet, sileence] +patreon: duiliopalacios +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] From 244283e3d3574b911172da981c1d15c7503e5082 Mon Sep 17 00:00:00 2001 From: Duilio Palacios Date: Wed, 4 Mar 2020 12:18:09 +0000 Subject: [PATCH 12/22] Update FUNDING.yml --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 8bb0a46..a8814ce 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,6 @@ # These are supported funding model platforms -github: [Stydenet, sileence] +github: ['Stydenet', 'sileence'] patreon: duiliopalacios open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username From 99ae5e92a12c1867dafb0bc6ff19d81de459cc58 Mon Sep 17 00:00:00 2001 From: Duilio Palacios Date: Wed, 4 Mar 2020 12:25:02 +0000 Subject: [PATCH 13/22] Update FUNDING.yml --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index a8814ce..76aa061 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,6 @@ # These are supported funding model platforms -github: ['Stydenet', 'sileence'] +github: # ['Stydenet', 'sileence'] patreon: duiliopalacios open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username From e2cef6d445e94ec79402e88c28e2e1987cc74d43 Mon Sep 17 00:00:00 2001 From: Duilio Palacios Date: Wed, 11 Mar 2020 15:05:59 +0000 Subject: [PATCH 14/22] Update composer.json to support Laravel 7 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 40b9e7c..278f129 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "require": { "php": "^7.2", "laravelcollective/html": "^6.0", - "illuminate/translation": "^6.0" + "illuminate/translation": "^6.0|^7.0" }, "require-dev": { "phpspec/phpspec": "~4.0" From 33ef484200846610026f63701a5aae2f4395f2c8 Mon Sep 17 00:00:00 2001 From: Ernesto Liberio Date: Wed, 13 May 2020 14:55:03 -0500 Subject: [PATCH 15/22] Update README.md add text in Readme for laravel 7.0 users --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4acd696..bd468ee 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ This is an extension of the Laravel Collective [HTML package](https://github.com 1. The preferred way to install this package is through Composer: -**Laravel 6.0 users**: +**Laravel 6.0 users / Laravel 7.0 users**: Install by running `composer require "styde/html=~1.8"` or adding `"styde/html": "~1.8"` to your `composer.json` file and then running `composer update`. From 05729f65d12140f21fb8295ae61d522e72974835 Mon Sep 17 00:00:00 2001 From: Duilio Palacios Date: Mon, 29 Jun 2020 20:23:32 +0100 Subject: [PATCH 16/22] Update FUNDING.yml --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 76aa061..4b5cd4c 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,6 @@ # These are supported funding model platforms -github: # ['Stydenet', 'sileence'] +github: ['Stydenet'] patreon: duiliopalacios open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username From 7c555217da6a9358f39a923d467b8c8fdf23898a Mon Sep 17 00:00:00 2001 From: Duilio Palacios Date: Mon, 29 Jun 2020 20:23:56 +0100 Subject: [PATCH 17/22] Update FUNDING.yml --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 4b5cd4c..32007da 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,6 @@ # These are supported funding model platforms -github: ['Stydenet'] +github: ['sileenc', 'Stydenet'] patreon: duiliopalacios open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username From 55df22abec9c21738143aa659c9dde693a79a37b Mon Sep 17 00:00:00 2001 From: Duilio Palacios Date: Mon, 29 Jun 2020 20:24:22 +0100 Subject: [PATCH 18/22] Update FUNDING.yml --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 32007da..561bd2b 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,6 @@ # These are supported funding model platforms -github: ['sileenc', 'Stydenet'] +github: ['sileence', 'Stydenet'] patreon: duiliopalacios open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username From 35b8d380336222caa33fdaf6ed0f210c75e28cb3 Mon Sep 17 00:00:00 2001 From: Duilio Palacios Date: Mon, 29 Jun 2020 20:24:41 +0100 Subject: [PATCH 19/22] Update FUNDING.yml --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 561bd2b..ddcc795 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,6 @@ # These are supported funding model platforms -github: ['sileence', 'Stydenet'] +github: ['sileence'] patreon: duiliopalacios open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username From 5b856532f2fcf1fa5699eaea8a045d965a02a229 Mon Sep 17 00:00:00 2001 From: Lucas Fiege Date: Mon, 14 Sep 2020 19:20:05 -0300 Subject: [PATCH 20/22] Added Laravel 8 Support --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 278f129..88d2cc9 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "require": { "php": "^7.2", "laravelcollective/html": "^6.0", - "illuminate/translation": "^6.0|^7.0" + "illuminate/translation": "^6.0|^7.0|^8.0" }, "require-dev": { "phpspec/phpspec": "~4.0" From 98c43c9912c13ae2983abe91b470754a8e3589f4 Mon Sep 17 00:00:00 2001 From: Joker9050 <67823774+Joker9050@users.noreply.github.com> Date: Fri, 2 Oct 2020 16:21:15 +0530 Subject: [PATCH 21/22] Change small spell --- src/helpers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helpers.php b/src/helpers.php index 7bd1fa1..b4efa23 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -1,7 +1,7 @@ make($items, $classes); } -} \ No newline at end of file +} From fce8d1965cb0e482a5c23d76b4c5806951fd11fc Mon Sep 17 00:00:00 2001 From: Uziel Bueno Date: Tue, 9 Feb 2021 14:40:46 -0600 Subject: [PATCH 22/22] Add support for PHP 8 --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 88d2cc9..90ca856 100644 --- a/composer.json +++ b/composer.json @@ -9,12 +9,12 @@ } ], "require": { - "php": "^7.2", + "php": "^7.2|^8.0", "laravelcollective/html": "^6.0", "illuminate/translation": "^6.0|^7.0|^8.0" }, "require-dev": { - "phpspec/phpspec": "~4.0" + "phpspec/phpspec": "~7.0" }, "autoload": { "psr-4": {