LaravelPackages.net
Acme Inc.
Toggle sidebar
shangjinglong/dictionary

A toolkit that generates a database dictionary package for the Laravel and Lumen frameworks.

58
2
v0.1.1
About shangjinglong/dictionary

shangjinglong/dictionary is a Laravel package for a toolkit that generates a database dictionary package for the laravel and lumen frameworks.. It currently has 2 GitHub stars and 58 downloads on Packagist (latest version v0.1.1). Install it with composer require shangjinglong/dictionary. Discover more Laravel packages by shangjinglong or browse all Laravel packages to compare alternatives.

Last updated

Dictionary

The Dictionary package is meant to provide you, the developer, with a set of tools to help you easily and quickly generate your database dictionay. Of course First make sure you want the database connection to be successful and add a comment for each field of each table.

html format

word format

excel format

Requirements

To install this package you will need:

  • Laravel 5.1+ or Lumen 5.1+
  • PHP 5.5.9+

Installation

You must then modify your composer.json file and run composer update to include the latest version of the package in your project.

"require": {
    "shangjinglong/dictionary": "dev-master"
}

Or you can run the composer require command from your terminal.

composer require shangjinglong/dictionary:dev-master

Laravel

Open config/app.php and register the required service provider above your application providers.

'providers' => [
    Shangjinglong\Dictionary\DictionaryServiceProvider::class
]

Usage

    namespace App\Http\Controllers;
    use Shangjinglong\Dictionary\Dictionary;

    class DictionaryController extends Controller
    {
        public  static function generate(){
            $dictionary = new Dictionary();
            $html = $dictionary->generate();
            return $html;
        }
    }

Support

Please use Github for reporting bugs, and making comments or suggestions.

License

The MIT License (MIT). Please see License File for more information.

Star History Chart