worksome/foggy-laravel

Adds Foggy support in Laravel

v0.6.1 2024-02-13 14:42 UTC

This package is auto-updated.

Last update: 2024-04-13 15:01:26 UTC


README

This package is a Laravel wrapper for Foggy.
Configuration of the plugin can be found at Foggy's docs.

Install

Via Composer

composer require worksome/foggy-laravel

Usage

This package adds a new artisan command for running Foggy. Simply type

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.

php artisan db:dump > scrubbedDump.sql