Package Data | |
---|---|
Maintainer Username: | shangjinglong |
Maintainer Contact: | sjl.55555@gmail.com (shangjinglong) |
Package Create Date: | 2017-09-08 |
Package Last Update: | 2017-09-08 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-23 03:03:46 |
Package Statistics | |
---|---|
Total Downloads: | 57 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
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.
To install this package you will need:
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
Open config/app.php
and register the required service provider above your application providers.
'providers' => [
Shangjinglong\Dictionary\DictionaryServiceProvider::class
]
namespace App\Http\Controllers;
use Shangjinglong\Dictionary\Dictionary;
class DictionaryController extends Controller
{
public static function generate(){
$dictionary = new Dictionary();
$html = $dictionary->generate();
return $html;
}
}
Please use Github for reporting bugs, and making comments or suggestions.
The MIT License (MIT). Please see License File for more information.