PHP code example of ruark / laravel-inn

1. Go to this page and download the library: Download ruark/laravel-inn library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

ruark / laravel-inn example snippets


Ruark\LaravelInn\InnServiceProvider::class,

$app->register(Ruark\LaravelInn\InnServiceProvider::class);

$rules = [
  'inn' => 'tor::make($request->all(), $rules);

'inn' => 'The :attribute has an invalid INN.',