Giter Club home page Giter Club logo

dblizer's Introduction

dblizer

Table of Contents

About

Dblizer helps you to export or reformat your older MySQL database to Excel (Currently). In the next version we aim to support from another database and another export format.

Getting Started

Clone this repository.

git clone https://github.com/nesia-id/dblizer.git

install application dependency

composer install

Usage

Copy or rename .env.exampe to .env. Then set your database configuration. .env file used as default database configuration for export command. You can see example in .env.example.

DB_HOST=your_database_server
DB_PORT=your_database_port
DB_DATABASE=your_database_name
DB_USERNAME=your_database_user
DB_PASSWORD=your_database_password

Command

1. Generate export file

php db make:export [table] [alias]

export file used to read your old database table and reformat table's structure to new one. table is your table name. this is required option, while alias is optional. alias is replacement for old table name with new one. alias also be used to renamed the export file.

2. Export database

php db export:excel [export]

(currently we only support excel format)
export is export file located at /export folder. export argument is optional. If you set export argument, then it will only run selected export file. if no argument given, it will run all export files

Build With

TODO

Database support:

  • MySQL / MariaDB
  • PostgreSQL
  • MS-SQL
  • SQLite

Export support:

  • Excel 2007+ / Spreadsheet
  • CSV
  • Excel 2003
  • MySQL / MariaDB (SQL File)
  • JSON

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.