{"id":15190122,"url":"https://github.com/rubensrocha/solvemedia-captcha","last_synced_at":"2026-03-01T23:31:06.165Z","repository":{"id":62537936,"uuid":"129436359","full_name":"rubensrocha/solvemedia-captcha","owner":"rubensrocha","description":"Solve Media Captcha for Laravel","archived":false,"fork":false,"pushed_at":"2020-09-13T18:39:42.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-30T02:22:25.988Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rubensrocha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-13T17:54:08.000Z","updated_at":"2020-09-13T18:39:08.000Z","dependencies_parsed_at":"2022-11-02T15:30:19.643Z","dependency_job_id":null,"html_url":"https://github.com/rubensrocha/solvemedia-captcha","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rubensrocha/solvemedia-captcha","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubensrocha%2Fsolvemedia-captcha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubensrocha%2Fsolvemedia-captcha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubensrocha%2Fsolvemedia-captcha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubensrocha%2Fsolvemedia-captcha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubensrocha","download_url":"https://codeload.github.com/rubensrocha/solvemedia-captcha/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubensrocha%2Fsolvemedia-captcha/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29946463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T17:57:52.716Z","status":"ssl_error","status_checked_at":"2026-02-28T17:57:31.974Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-27T20:04:41.413Z","updated_at":"2026-03-01T23:31:06.148Z","avatar_url":"https://github.com/rubensrocha.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Solve Media Captcha for Laravel\n===============================\n\nPackage integration of SolveMedia captcha for Laravel\n\n## Installation\n\n```\ncomposer require rubensrocha/solvemedia-captcha\n```\n\n## Laravel 5 - 6\n\n### Setup\n\n**_NOTE_** This package supports the auto-discovery feature of Laravel 5.5, So skip these `Setup` instructions if you're using Laravel 5.5 and above.\n\nIn `app/config/app.php` add the following :\n\n1- The ServiceProvider to the providers array :\n\n```php\nRubensrocha\\SolveMediaCaptcha\\SolveMediaCaptchaServiceProvider::class,\n```\n\n2- The class alias to the aliases array :\n\n```php\n'SolveMediaCaptcha' =\u003e Rubensrocha\\SolveMediaCaptcha\\Facades\\SolveMediaCaptcha::class,\n```\n\n3- Publish the config file\n\n```ssh\nphp artisan vendor:publish --provider=\"Rubensrocha\\SolveMediaCaptcha\\SolveMediaCaptchaServiceProvider\"\n```\n\n### Configuration\n\nAdd these fields in **.env** file :\n\n```\nSOLVEMEDIA_CKEY=\"your_public_key\"\nSOLVEMEDIA_VKEY=\"your_verification_key\"\nSOLVEMEDIA_HKEY=\"your_authentication_key\"\nSOLVEMEDIA_SSL=TRUE\n```\n\nYou can obtain them from [here]( https://portal.solvemedia.com  )\n\n#### Display CAPTCHA\n\n\n```php\n{!! SolveMediaCaptcha::display() !!}\n```\n\n#### Validation\n\nAdd `'adcopy_response' =\u003e 'required|solvemediacaptcha'` to rules array :\n\n```php\n$validate = Validator::make(Input::all(), [\n\t'adcopy_response' =\u003e 'required|solvemediacaptcha'\n]);\n\n```\n\n##### Custom Validation Message\n\nAdd the following values to the `custom` array in the `validation` language file :\n\n```php\n'custom' =\u003e [\n    'adcopy_response' =\u003e [\n        'required' =\u003e 'Please verify that you are not a robot.',\n        'solvemediacaptcha' =\u003e 'Captcha error! try again later or contact site admin.',\n    ],\n],\n```\n\nThen check for captcha errors in the `Form` :\n\n```php\n@if ($errors-\u003ehas('adcopy_response'))\n    \u003cspan class=\"help-block\"\u003e\n        \u003cstrong\u003e{{ $errors-\u003efirst('adcopy_response') }}\u003c/strong\u003e\n    \u003c/span\u003e\n@endif\n```\n\n## Packages used as reference for creating this package.\n\nanhskohbo/no-captcha =\u003e https://github.com/anhskohbo/no-captcha\n\ntraderinteractive/solvemedia-client-php =\u003e https://github.com/traderinteractive/solvemedia-client-php\n\n## Contribute\n\nhttps://github.com/rubensrocha/solvemedia-captcha/pulls\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubensrocha%2Fsolvemedia-captcha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubensrocha%2Fsolvemedia-captcha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubensrocha%2Fsolvemedia-captcha/lists"}