chewei05 / crud-generator-template
Traditional Chinese (zh-TW) Templates for crud-generator with Laravel 5.
0.0.3
2019-11-13 07:00 UTC
Requires
- appzcoder/crud-generator: >=v2.0.0
This package is not auto-updated.
Last update: 2024-12-19 07:37:02 UTC
README
Traditional Chinese (zh-TW) Templates for CRUD-generator with Laravel 5.
crud-generator 在 Laravel 5 的正體中文(繁體中文)樣板檔.
Requirements
appzcoder/crud-generator: ^v2.0.0
Installation
Open the root directory of your Laravel project in terminal(CLI), and follow the following steps.
- Install appzcoder/crud-generator first.
composer require appzcoder/crud-generator
- Finish all install steps of appzcoder/crud-generator.
- Published crud-generator package's assets.
php artisan vendor:publish --provider="Appzcoder\CrudGenerator\CrudGeneratorServiceProvider"
- Turn on custom_template support on config/crudgenerator.php
'custom_template' => true,
- Install this package crud-generator-template
composer require chewei05/crud-generator-template
Copy Language Files
Via Yourself
- Files of templates are in "vendor/chewei05/crud-generator-template/src/crud-generator" directory
- Copy the folder of templates in the resources/crud-generator folder of your Laravel 5 project.
Via Laravel Service Provider
- Add service provider to config/app.php.
'providers' => [ ... CheweiHu\CRUDGeneratorTemplate\CRUDGeneratorTemplateServiceProvider::class, ],
- Run composer dump-autoload if composer went wrong.
composer dump-autoload
- Publish vendor files of this package.
php artisan vendor:publish --provider="CheweiHu\CRUDGeneratorTemplate\CRUDGeneratorTemplateServiceProvider" --force
- Done.