From 875887bdb676dd082f6808e25e160e51eeb13563 Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Wed, 7 Feb 2024 15:24:00 +0000 Subject: [PATCH 1/2] feat: drop support for Laravel 9 --- README.md | 12 ++++++------ composer.json | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 26de1dc..6de14b6 100644 --- a/README.md +++ b/README.md @@ -6,21 +6,21 @@ Configuration of the plugin can be found at [Foggy's docs](https://github.com/wo ## Installation For installation via composer -```bash -$ composer require worksome/foggy-laravel +```shell +composer require worksome/foggy-laravel ``` ## Usage This package adds a new artisan command for running Foggy. Simply type -````bash -$ php artisan db:dump +````shell +php artisan db:dump ```` It will by default assume that the Foggy config file, will be in `foggy.json` in the root fo the project. A configuration file can be supplied by using `--config` argument. The artisan command will make the db dump to `stdout`. The best way to parse this to a file is simply to pipe it. -```bash -$ php artisan db:dump > scrubbedDump.sql +```shell +php artisan db:dump > scrubbedDump.sql ``` \ No newline at end of file diff --git a/composer.json b/composer.json index be930e5..b459fda 100644 --- a/composer.json +++ b/composer.json @@ -4,9 +4,9 @@ "type": "library", "require": { "php": "^8.2", - "worksome/foggy": "^0.5", - "illuminate/support": "^9.46|^10.0", - "illuminate/console": "^9.46|^10.0" + "worksome/foggy": "^0.6", + "illuminate/support": "^10.0", + "illuminate/console": "^10.0" }, "license": "MIT", "authors": [ From 07c8f1cf07bb8a99c08e24e188416d4284f525fc Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Wed, 7 Feb 2024 15:24:18 +0000 Subject: [PATCH 2/2] feat: add support for Laravel 11 --- README.md | 9 ++++++--- composer.json | 10 ++-------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 6de14b6..4ad6869 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,16 @@ This package is a Laravel wrapper for Foggy. Configuration of the plugin can be found at [Foggy's docs](https://github.com/worksome/foggy). -## Installation -For installation via composer +## Install + +Via Composer ```shell composer require worksome/foggy-laravel ``` ## Usage + This package adds a new artisan command for running Foggy. Simply type ````shell @@ -20,7 +22,8 @@ php artisan db:dump It will by default assume that the Foggy config file, will be in `foggy.json` in the root fo the project. A configuration file can be supplied by using `--config` argument. -The artisan command will make the db dump to `stdout`. The best way to parse this to a file is simply to pipe it. +The artisan command will make the db dump to `stdout`. The best way to parse this to a file is simply to pipe it. + ```shell php artisan db:dump > scrubbedDump.sql ``` \ No newline at end of file diff --git a/composer.json b/composer.json index b459fda..422286f 100644 --- a/composer.json +++ b/composer.json @@ -5,16 +5,10 @@ "require": { "php": "^8.2", "worksome/foggy": "^0.6", - "illuminate/support": "^10.0", - "illuminate/console": "^10.0" + "illuminate/support": "^10.0 || ^11.0", + "illuminate/console": "^10.0 || ^11.0" }, "license": "MIT", - "authors": [ - { - "name": "Oliver Nybroe", - "email": "oliver@worksome.com" - } - ], "autoload": { "psr-4": { "Worksome\\FoggyLaravel\\": "src/"