<commit_before># TranslatableBootForms

TranslatableBootForms is a Laravel 4 package built on top of adamwathan/bootforms and dimsav/laravel-translatable, it enable form model binding on translated fields.

## Installing with Composer

You can install this package via Composer by including the following in your `composer.json`:

```json
{
    "require": {
        "typicms/translatablebootforms": "~1.0.0"
    }
}
```

### Laravel 4

If you are using Laravel 4, you can get started very quickly by registering the included service provider.

Modify the ‘providers’ array in `app/config/app.php` to include the `BootFormsServiceProvider`:

```php
'providers' => array(
		//…
		'TypiCMS\TranslatableBootForms\TranslatableBootFormsServiceProvider'
	),
```

Run ```composer update```

Add the **BootForm** and **Translatable** facades to the **aliases** array in **app/config/app.php**:

```php
'aliases' => array(
		//…
    'BootForm' => 'AdamWathan\BootForms\Facades\BootForm'
		'Translatable' => 'Dimsav\Translatable\Translatable',
	),
```

You can now start using BootForms by calling methods directly on the `BootForm` facade:

```php
BootForm::text('title', 'en[title]') }}
```

### Docs

Docs on BootForm can be found here : https://github.com/adamwathan/bootforms  
Docs on Laravel-Translatable can be found here : https://github.com/dimsav/laravel-translatable<commit_msg>readme updated<commit_after># TranslatableBootForms

TranslatableBootForms is a Laravel 4 package built on top of adamwathan/bootforms and dimsav/laravel-translatable, it enable form model binding on translated fields.

## Installing with Composer

You can install this package via Composer by including the following in your `composer.json`:

```json
"require": {
    "typicms/translatablebootforms": "~1.0.0"
}
```

### Installation in Laravel 4

Modify the `providers` array in `app/config/app.php` to include the `BootFormsServiceProvider`:

```php
'providers' => array(
    //…
    'TypiCMS\TranslatableBootForms\TranslatableBootFormsServiceProvider'
),
```

Run ```composer update```

Add the `BootForm` and `Translatable` facades to the `aliases` array in `app/config/app.php:

```php
'aliases' => array(
    //…
    'BootForm' => 'AdamWathan\BootForms\Facades\BootForm'
    'Translatable' => 'Dimsav\Translatable\Translatable',
),
```

You can now start using BootForms by calling methods directly on the `BootForm` facade:

```php
BootForm::text('title', 'en[title]') }}
```

### Laravel-Translatable and BootForm docs

**BootForm**  
https://github.com/adamwathan/bootforms  
**aravel-Translatable**  
https://github.com/dimsav/laravel-translatable
{'fraction_non_alphanumeric': 0.12893439514599925, 'fraction_numerical': 0.004171406901782328, 'mean_word_length': 4.862222222222222, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 4, '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': '1809663', 'n_tokens_mistral': 886, 'n_tokens_neox': 842, 'n_words': 247}