<commit_before># Laravel5 Crud Generator
Laravel CRUD Generator

## Installation

1. Run 
    ```
    composer require "appzcoder/crud-generator":"dev-master"
    ```
    or add the bellow lines to your **composer.json**
    ```
    {
        "require": {
            "appzcoder/crud-generator": "dev-master"
        }
    }    
    ```
    
2. Add service provider into **/config/app.php** file.
    ```php
    'Appzcoder\CrudGenerator\CrudGeneratorServiceProvider',
    ```

3. Run **composer update**

Note: If you've not installed **illuminate/html** package yet then you should need to install it. For this you can follow <a href="https://gist.github.com/sohelamin/3f652c86c440791e2fa9">here.</a>

## Commands

#### Crud command:

```
php artisan crud:generate crud-name --fields="name:string, email:string, phone:integer, message:text"
```

-----------
-----------
<commit_msg>package included<commit_after># Laravel5 Crud Generator
Laravel CRUD Generator

## Installation

1. Run 
    ```
    composer require "appzcoder/crud-generator":"dev-master"
    ```
    
2. Add service provider into **/config/app.php** file.
    ```php
    'providers' => [
        ...
    
        'Appzcoder\CrudGenerator\CrudGeneratorServiceProvider',
    ],
    ```
    
    Add bellow lines for "illuminate/html" package if you've not done yet.

    ```php
    'providers' => [
        ...
    
        'Illuminate\Html\HtmlServiceProvider',
    ],
    
    'aliases' => [
    
        ...
    
        'Form'=> 'Illuminate\Html\FormFacade', 
        'HTML'=> 'Illuminate\Html\HtmlFacade',
    ],
    ```
3. Run **composer update**

Note: You should have configured database as well for this operation.

## Commands

#### Crud command:

```
php artisan crud:generate crud-name --fields="name:string, email:string, phone:integer, message:text"
```

-----------
-----------

{'fraction_non_alphanumeric': 0.16451612903225807, 'fraction_numerical': 0.011827956989247311, 'mean_word_length': 2.4981203007518795, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1475342', 'n_tokens_mistral': 608, 'n_tokens_neox': 591, 'n_words': 139}