-
Notifications
You must be signed in to change notification settings - Fork 29
Installation
Bilal Gültekin edited this page Jul 30, 2015
·
1 revision
Require bllim/laravel-validation-for-client-side
in composer.json and run composer update
.
{
"require": {
"laravel/framework": "5.0.*",
...
"bllim/laravalid": "*"
}
...
}
Note: For Laravel 4 use
laravel4
branch like as"bllim/laravalid": "dev-laravel4"
Composer will download the package. After the package is downloaded, open config/app.php
and add the service provider and alias as below:
'providers' => array(
...
'Bllim\Laravalid\LaravalidServiceProvider',
),
'aliases' => array(
...
'HTML' => 'Illuminate\Support\Facades\HTML', // if not exists add for html too
'Form' => 'Bllim\Laravalid\Facade',
),
Also you need to publish configuration file and assets by running the following Artisan commands.
$ php artisan vendor:publish