{"action":"opened","issue":{"url":"https://api.github.com/repos/LaravelLegends/pt-br-validator/issues/10","repository_url":"https://api.github.com/repos/LaravelLegends/pt-br-validator","labels_url":"https://api.github.com/repos/LaravelLegends/pt-br-validator/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/LaravelLegends/pt-br-validator/issues/10/comments","events_url":"https://api.github.com/repos/LaravelLegends/pt-br-validator/issues/10/events","html_url":"https://github.com/LaravelLegends/pt-br-validator/issues/10","id":308959824,"number":10,"title":"Erro ao Incluir validação","user":{"login":"tranquilodf","id":22132226,"avatar_url":"https://avatars2.githubusercontent.com/u/22132226?v=4","gravatar_id":"","url":"https://api.github.com/users/tranquilodf","html_url":"https://github.com/tranquilodf","followers_url":"https://api.github.com/users/tranquilodf/followers","following_url":"https://api.github.com/users/tranquilodf/following{/other_user}","gists_url":"https://api.github.com/users/tranquilodf/gists{/gist_id}","starred_url":"https://api.github.com/users/tranquilodf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranquilodf/subscriptions","organizations_url":"https://api.github.com/users/tranquilodf/orgs","repos_url":"https://api.github.com/users/tranquilodf/repos","events_url":"https://api.github.com/users/tranquilodf/events{/privacy}","received_events_url":"https://api.github.com/users/tranquilodf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-27T13:03:37Z","updated_at":"2018-03-27T13:03:37Z","closed_at":null,"author_association":"NONE","body":"Bom dia,\r\n\r\nUtilizando a biblioteca e a mesma está me retornando o erro abaixo:\r\n ```\r\nBadMethodCallException\r\nMethod [validateCpf] does not exist.\r\n```\r\n\r\nSegue as configurações que executei:\r\ncomposer.json\r\n```\r\n\"require\": {\r\n        \"php\": \">=7.0.0\",\r\n        \"davejamesmiller/laravel-breadcrumbs\": \"4.*\",\r\n        \"fideloper/proxy\": \"~3.3\",\r\n        \"jeroennoten/laravel-adminlte\": \"^1.23\",\r\n        \"laravel/framework\": \"5.5.*\",\r\n        \"laravel/tinker\": \"~1.0\",\r\n        \"laravellegends/pt-br-validator\" : \"5.1.*\"\r\n    },\r\n```\r\nconfig/app.php\r\n'ali```\r\nases' => [\r\n\r\n        'App' => Illuminate\\Support\\Facades\\App::class,\r\n        'Artisan' => Illuminate\\Support\\Facades\\Artisan::class,\r\n        'Auth' => Illuminate\\Support\\Facades\\Auth::class,\r\n        'Blade' => Illuminate\\Support\\Facades\\Blade::class,\r\n        'Broadcast' => Illuminate\\Support\\Facades\\Broadcast::class,\r\n        'Bus' => Illuminate\\Support\\Facades\\Bus::class,\r\n        'Cache' => Illuminate\\Support\\Facades\\Cache::class,\r\n        'Config' => Illuminate\\Support\\Facades\\Config::class,\r\n        'Cookie' => Illuminate\\Support\\Facades\\Cookie::class,\r\n        'Crypt' => Illuminate\\Support\\Facades\\Crypt::class,\r\n        'DB' => Illuminate\\Support\\Facades\\DB::class,\r\n        'Eloquent' => Illuminate\\Database\\Eloquent\\Model::class,\r\n        'Event' => Illuminate\\Support\\Facades\\Event::class,\r\n        'File' => Illuminate\\Support\\Facades\\File::class,\r\n        'Gate' => Illuminate\\Support\\Facades\\Gate::class,\r\n        'Hash' => Illuminate\\Support\\Facades\\Hash::class,\r\n        'Lang' => Illuminate\\Support\\Facades\\Lang::class,\r\n        'Log' => Illuminate\\Support\\Facades\\Log::class,\r\n        'Mail' => Illuminate\\Support\\Facades\\Mail::class,\r\n        'Notification' => Illuminate\\Support\\Facades\\Notification::class,\r\n        'Password' => Illuminate\\Support\\Facades\\Password::class,\r\n        'Queue' => Illuminate\\Support\\Facades\\Queue::class,\r\n        'Redirect' => Illuminate\\Support\\Facades\\Redirect::class,\r\n        'Redis' => Illuminate\\Support\\Facades\\Redis::class,\r\n        'Request' => Illuminate\\Support\\Facades\\Request::class,\r\n        'Response' => Illuminate\\Support\\Facades\\Response::class,\r\n        'Route' => Illuminate\\Support\\Facades\\Route::class,\r\n        'Schema' => Illuminate\\Support\\Facades\\Schema::class,\r\n        'Session' => Illuminate\\Support\\Facades\\Session::class,\r\n        'Storage' => Illuminate\\Support\\Facades\\Storage::class,\r\n        'URL' => Illuminate\\Support\\Facades\\URL::class,\r\n        'Validator' => Illuminate\\Support\\Facades\\Validator::class,\r\n        'View' => Illuminate\\Support\\Facades\\View::class,\r\n        LaravelLegends\\PtBrValidator\\ValidatorProvider::class\r\n\r\n    ],\r\n```\r\ntestController.php\r\n\r\n```\r\npublic function teste(array $data){\r\n$return = Validator::make($data, [\r\n            'name' => 'required|string|max:255',\r\n            'doc' => 'required|max:11|**cpf**',\r\n            'email' => 'required|string|email|max:255|unique:users',\r\n            'password' => 'required|string|min:6|confirmed',\r\n        ]);\r\n        dd($return->fails());\r\n}\r\n```\r\nO que está faltando?"}}
{"actor":{"display_login":"tranquilodf"}}