{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/9982","labels_url":"https://api.github.com/repos/laravel/framework/issues/9982/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/9982/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/9982/events","html_url":"https://github.com/laravel/framework/issues/9982","id":101700552,"number":9982,"title":"[Request] Get another attribute's displayable name inside Illuminate\\Validation\\Factory::replacer callback","user":{"login":"vincekovacs","id":1031595,"avatar_url":"https://avatars.githubusercontent.com/u/1031595?v=3","gravatar_id":"","url":"https://api.github.com/users/vincekovacs","html_url":"https://github.com/vincekovacs","followers_url":"https://api.github.com/users/vincekovacs/followers","following_url":"https://api.github.com/users/vincekovacs/following{/other_user}","gists_url":"https://api.github.com/users/vincekovacs/gists{/gist_id}","starred_url":"https://api.github.com/users/vincekovacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincekovacs/subscriptions","organizations_url":"https://api.github.com/users/vincekovacs/orgs","repos_url":"https://api.github.com/users/vincekovacs/repos","events_url":"https://api.github.com/users/vincekovacs/events{/privacy}","received_events_url":"https://api.github.com/users/vincekovacs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-18T16:54:45Z","updated_at":"2015-08-19T12:41:32Z","closed_at":null,"body":"I wrote validation rule something like `different`. The validation rule checks another field value. When it fails then output message like `The :attribute and :other must be different.`. Here `:other` is another field attribute, so I want output this attribute’s displayable name. If `Illuminate\\Validation\\Validator::getAttribute` method would be public that will be solve this problem."},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/132577393","html_url":"https://github.com/laravel/framework/issues/9982#issuecomment-132577393","issue_url":"https://api.github.com/repos/laravel/framework/issues/9982","id":132577393,"user":{"login":"prady00","id":725347,"avatar_url":"https://avatars.githubusercontent.com/u/725347?v=3","gravatar_id":"","url":"https://api.github.com/users/prady00","html_url":"https://github.com/prady00","followers_url":"https://api.github.com/users/prady00/followers","following_url":"https://api.github.com/users/prady00/following{/other_user}","gists_url":"https://api.github.com/users/prady00/gists{/gist_id}","starred_url":"https://api.github.com/users/prady00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prady00/subscriptions","organizations_url":"https://api.github.com/users/prady00/orgs","repos_url":"https://api.github.com/users/prady00/repos","events_url":"https://api.github.com/users/prady00/events{/privacy}","received_events_url":"https://api.github.com/users/prady00/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T12:41:32Z","updated_at":"2015-08-19T12:41:32Z","body":"Making it public? \r\nMay you please explain on it a little more?"}}