worksome / foggy-laravel
Adds Foggy support in Laravel
Installs: 470 464
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 17
Forks: 0
Open Issues: 0
Requires
- php: ^8.2
- doctrine/dbal: ^3.5.1 || ^4.0
- illuminate/console: ^10.0 || ^11.0
- illuminate/database: ^10.0 | ^11.0
- illuminate/support: ^10.0 || ^11.0
- thecodingmachine/safe: ^2.5
- worksome/foggy: ^0.6
Requires (Dev)
- orchestra/testbench: ^8.21 || ^9.0
- pestphp/pest: ^2.33
- pestphp/pest-plugin-laravel: ^2.2
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 of the project.
A configuration file can be supplied by using --config
argument.
The artisan command by default will make the database dump to stdout
. To pass the output to a file, use the --output
(-o
) option.
php artisan db:dump --output scrubbed-dump.sql
Foggy also supports specifying a custom database connection:
php artisan db:dump --connection mysql