{"id":18860709,"url":"https://github.com/melihovv/laravel-env-validator","last_synced_at":"2025-04-14T12:30:50.682Z","repository":{"id":16725343,"uuid":"80524840","full_name":"melihovv/laravel-env-validator","owner":"melihovv","description":"Laravel .env validator","archived":false,"fork":false,"pushed_at":"2022-03-11T14:18:19.000Z","size":53,"stargazers_count":16,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T00:35:34.660Z","etag":null,"topics":["env-validator","environment-variables","laravel","laravel-validation","php"],"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/melihovv.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":"2017-01-31T13:56:00.000Z","updated_at":"2024-09-04T20:27:19.000Z","dependencies_parsed_at":"2022-07-26T08:48:00.415Z","dependency_job_id":null,"html_url":"https://github.com/melihovv/laravel-env-validator","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melihovv%2Flaravel-env-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melihovv%2Flaravel-env-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melihovv%2Flaravel-env-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melihovv%2Flaravel-env-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melihovv","download_url":"https://codeload.github.com/melihovv/laravel-env-validator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248881344,"owners_count":21176833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["env-validator","environment-variables","laravel","laravel-validation","php"],"created_at":"2024-11-08T04:26:26.940Z","updated_at":"2025-04-14T12:30:50.385Z","avatar_url":"https://github.com/melihovv.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Laravel Env Validator\n=====================\n\n[![GitHub Workflow Status](https://github.com/melihovv/laravel-env-validator/workflows/Run%20tests/badge.svg)](https://github.com/melihovv/laravel-env-validator/actions)\n[![styleci](https://styleci.io/repos/78041678/shield)](https://styleci.io/repos/78041678)\n\n[![Packagist](https://img.shields.io/packagist/v/melihovv/laravel-env-validator.svg)](https://packagist.org/packages/melihovv/laravel-env-validator)\n[![Packagist](https://poser.pugx.org/melihovv/laravel-env-validator/d/total.svg)](https://packagist.org/packages/melihovv/laravel-env-validator)\n[![Packagist](https://img.shields.io/packagist/l/melihovv/laravel-env-validator.svg)](https://packagist.org/packages/melihovv/laravel-env-validator)\n\nLaravel Env Validator is meant to validate your .env file in order to avoid any\nunexpected behaviour for not having properly defined some variable or value.\n\n### Highlights\n\n- Make sure you don't go live without all required .env variables and without the correct values\n- Validate you env variables using the Laravel Validator by simple defining rules in a configuration file\n- Working in teams becomes easier\n\n## Installation\n\nInstall via composer\n```\ncomposer require melihovv/laravel-env-validator\n```\n\n### Publish configuration file\n\n```\nphp artisan vendor:publish --provider=\"Melihovv\\LaravelEnvValidator\\ServiceProvider\" --tag=\"config\"\n```\n\n## Example configuration file\n```php\n// config/env-validator.php\n\u003c?php\n\nreturn [\n    'rules' =\u003e [\n        'APP_NAME' =\u003e 'required|string',\n        'APP_ENV'  =\u003e 'in:local,production',\n    ],\n];\n```\n\n## Usage\nSimply run following command\n```\nphp artisan config:env-validator\n```\n\n## Security\n\nIf you discover any security related issues, please email amelihovv@ya.ru instead of using the issue tracker.\n\n## Credits\n\n- [Alexander Melihov](https://github.com/melihovv)\n- [Mathias Grimm](https://github.com/mathiasgrimm)\n- [David Stroker](https://github.com/davidstoker)\n- [All contributors](https://github.com/melihovv/laravel-env-validator/graphs/contributors)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelihovv%2Flaravel-env-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelihovv%2Flaravel-env-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelihovv%2Flaravel-env-validator/lists"}