Skip to content

Commit

Permalink
feat: add support for Laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
owenvoke committed Feb 7, 2024
1 parent 875887b commit 07c8f1c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
```
10 changes: 2 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Worksome\\FoggyLaravel\\": "src/"
Expand Down

0 comments on commit 07c8f1c

Please sign in to comment.