From 5d4a422b62fc0df79cff450febf931d3294ef4ed Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Sun, 20 Aug 2017 21:25:32 +0800 Subject: [PATCH] Update readme.md --- readme.md | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/readme.md b/readme.md index ae5d5ca..a31b260 100644 --- a/readme.md +++ b/readme.md @@ -2,18 +2,20 @@ This is a package to create simple CRUD on your Laravel 5.4 application. -## How to install - -Install this package through [Composer](https://getcomposer.org). Run following from terminal: +> **Development in progress** -``` -composer require luthfi/simple-crud-generator -``` +## About this package +With this package installed on local environment, we can use (e.g.) `php artisan make:crud Item` command to generate some files : +- **App\Item.php** eloquent model +- **ItemsController.php** in `app/Http/Controllers` directory +- **create_items_table.php** migration file +- **index.blade.php** view file in `resources/views/items` directory +- **forms.blade.php** view file in `resources/views/items` directory +- **ManageItemsTest.php** feature test class in `tests/Feature` directory +- **ItemTest.php** unit test class in `tests/Unit/Models` directory -Update `config/app.php`, add provider and aliases : -```php -// providers -Luthfi\CrudGenerator\CrudGeneratorServiceProvider::class, -``` +## How to install +*TODO* ## How to use +*TODO* \ No newline at end of file