{"id":39253870,"url":"https://github.com/wilsenhc/laravel-rif-validation","last_synced_at":"2026-01-18T00:12:04.077Z","repository":{"id":42515427,"uuid":"339896678","full_name":"wilsenhc/laravel-rif-validation","owner":"wilsenhc","description":"A Validation rule to check if a RIF is valid","archived":false,"fork":false,"pushed_at":"2025-04-25T00:52:10.000Z","size":32,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T05:36:39.199Z","etag":null,"topics":["hacktoberfest","laravel","php","rif","rules","seniat","validation"],"latest_commit_sha":null,"homepage":"","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/wilsenhc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-18T00:54:01.000Z","updated_at":"2025-04-25T00:49:08.000Z","dependencies_parsed_at":"2023-02-12T18:45:19.796Z","dependency_job_id":null,"html_url":"https://github.com/wilsenhc/laravel-rif-validation","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/wilsenhc/laravel-rif-validation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsenhc%2Flaravel-rif-validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsenhc%2Flaravel-rif-validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsenhc%2Flaravel-rif-validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsenhc%2Flaravel-rif-validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wilsenhc","download_url":"https://codeload.github.com/wilsenhc/laravel-rif-validation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsenhc%2Flaravel-rif-validation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28523359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T23:53:28.710Z","status":"ssl_error","status_checked_at":"2026-01-17T23:52:20.131Z","response_time":85,"last_error":"SSL_read: 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":["hacktoberfest","laravel","php","rif","rules","seniat","validation"],"created_at":"2026-01-18T00:12:01.944Z","updated_at":"2026-01-18T00:12:04.048Z","avatar_url":"https://github.com/wilsenhc.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://banners.beyondco.de/Laravel%20RIF%20Validation.png?theme=light\u0026packageManager=composer+require\u0026packageName=wilsenhc%2Flaravel-rif-validation\u0026pattern=circuitBoard\u0026style=style_1\u0026description=\u0026md=1\u0026showWatermark=0\u0026fontSize=100px\u0026images=https%3A%2F%2Flaravel.com%2Fimg%2Flogomark.min.svg)\n\n# A Validation rule to check if a RIF is valid\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/wilsenhc/laravel-rif-validation.svg?style=flat-square)](https://packagist.org/packages/wilsenhc/laravel-rif-validation)\n![Tests](https://github.com/wilsenhc/laravel-rif-validation/actions/workflows/run-tests.yml/badge.svg)\n[![Total Downloads](https://img.shields.io/packagist/dt/wilsenhc/laravel-rif-validation.svg?style=flat-square)](https://packagist.org/packages/wilsenhc/laravel-rif-validation)\n\nThis package provides rules to validate a RIF (Registro Único de Información Fiscal).\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require wilsenhc/laravel-rif-validation\n```\n\nThe package will automatically register itself.\n\n### Translations\n\nIf you wish to edit the package translations, you can run the following command to publish them into your `lang/` folder\n\n```bash\nphp artisan vendor:publish --provider=\"Wilsenhc\\RifValidation\\RifValidationServiceProvider\"\n```\n\n## Available rules\n\n- [`Rif`](#rif)\n\n### `Rif`\n\nThis validation rule will pass if the RIF value passed in the request is valid.\n\n```php\n// in a `FormRequest`\npublic function rules()\n{\n    return [\n        'rif' =\u003e 'required|rif',\n    ];\n}\n```\nYou can also import the `Rif` Rule class and use it instead\n\n```php\n// in a `FormRequest`\n\nuse Wilsenhc\\RifValidation\\Rules\\Rif;\n\npublic function rules()\n{\n    return [\n        'rif' =\u003e ['required', new Rif()],\n    ];\n}\n```\n\n### Testing\n\n``` bash\ncomposer test\n```\n\n### Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.\n\n### Security\n\nIf you discover any security related issues, please email wilsenforwork@gmail.com instead of using the issue tracker.\n\n## Credits\n\n- [Wilsen Hernández](https://github.com/wilsenhc)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilsenhc%2Flaravel-rif-validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilsenhc%2Flaravel-rif-validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilsenhc%2Flaravel-rif-validation/lists"}