<commit_before># LaravelGenerators
Artisan command to generate MVC structure of app component

## Installation
Add new require to composer file:

`
"safistudio/generators": "@dev"
`

Add new repository to composer file:

```javascript
{
    "type": "vcs",
    "url": "https://github.com/SafiStudio/LaravelGenerators"
}
```

Add the code below in composer ps-4 autoload block:

```javascript
"psr-4": {
    "SafiStudio\\": "vendor/safistudio/generators/src/",
    "SafiStudio\\Console\\Commands\\": "vendor/safistudio/generators/commands/"
}
```

Add post-update function in composer as below:

`
"\\SafiStudio\\Installer::postUpdate"
`

Run composer update

## Usage

`
php artisan generator:package {PackageName}
`

where {PackageName} is the name of app component.<commit_msg>Readme update<commit_after># LaravelGenerators
Artisan command to generate MVC structure of app component

## Installation
Add new require to composer file:

`
"safistudio/generators": "@dev"
`

Add new repository to composer file:

```javascript
{
    "type": "vcs",
    "url": "https://github.com/SafiStudio/LaravelGenerators"
}
```

Add the code below in composer ps-4 autoload block:

```javascript
"psr-4": {
    "SafiStudio\\": "vendor/safistudio/generators/src/",
    "SafiStudio\\Console\\Commands\\": "vendor/safistudio/generators/commands/"
}
```

Add post-update function in composer as below:

`
"\\SafiStudio\\Installer::postUpdate"
`

Run composer update

## Usage

`
php artisan generator:package {PackageName}
`

where {PackageName} is the name of app component.

### Before component generate

Check app/Generators/Hotels.php file for exapmle of generator's description file
{'fraction_non_alphanumeric': 0.13001797483523067, 'fraction_numerical': 0.002396644697423607, 'mean_word_length': 4.529801324503311, 'pattern_counts': {'":': 12, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3968847', 'n_tokens_mistral': 558, 'n_tokens_neox': 550, 'n_words': 152}