[go: up one dir, main page]

Skip to content

ChrisThompsonTLDR/sql-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packagist License Total Downloads

LARAVEL SQL GENERATOR

Convert Laravel migrations to raw SQL scripts

Usage

Step 1: Install Through Composer

composer require "froiden/sql-generator:dev-master" --dev

Step 2: Now publish the vendor

php artisan vendor:publish

Step 3: Run command

Then you will need to run these commands in the terminal

php artisan sql:generate

This Will Generate "database.sql" in 'database/sql' directory If you want change path directory go to 'config/sql_generator.php' change value 'defaultDirectory'

About

Laravel migration to sql file generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%