{"id":19052404,"url":"https://github.com/amdad121/setting-laravel","last_synced_at":"2025-07-26T00:33:47.634Z","repository":{"id":210749094,"uuid":"727383210","full_name":"amdad121/setting-laravel","owner":"amdad121","description":"Setting option for Laravel","archived":false,"fork":false,"pushed_at":"2025-03-07T20:01:53.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-26T10:51:53.287Z","etag":null,"topics":["configuration","laravel","settings"],"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/amdad121.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"amdad121"}},"created_at":"2023-12-04T18:55:36.000Z","updated_at":"2025-03-07T20:01:56.000Z","dependencies_parsed_at":"2024-01-15T23:03:07.353Z","dependency_job_id":"4dd1bbd2-b804-4659-81d3-8c0d849f622f","html_url":"https://github.com/amdad121/setting-laravel","commit_stats":null,"previous_names":["amdad121/setting-laravel"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/amdad121/setting-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdad121%2Fsetting-laravel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdad121%2Fsetting-laravel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdad121%2Fsetting-laravel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdad121%2Fsetting-laravel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amdad121","download_url":"https://codeload.github.com/amdad121/setting-laravel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdad121%2Fsetting-laravel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267093821,"owners_count":24034952,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["configuration","laravel","settings"],"created_at":"2024-11-08T23:26:19.038Z","updated_at":"2025-07-26T00:33:47.600Z","avatar_url":"https://github.com/amdad121.png","language":"PHP","funding_links":["https://github.com/sponsors/amdad121"],"categories":[],"sub_categories":[],"readme":"# Setting option for Laravel\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/amdadulhaq/setting-laravel.svg?style=flat-square)](https://packagist.org/packages/amdadulhaq/setting-laravel)\n[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/amdad121/setting-laravel/run-tests.yml?branch=main\u0026label=tests\u0026style=flat-square)](https://github.com/amdad121/setting-laravel/actions?query=workflow%3Arun-tests+branch%3Amain)\n[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/amdad121/setting-laravel/fix-php-code-style-issues.yml?branch=main\u0026label=code%20style\u0026style=flat-square)](https://github.com/amdad121/setting-laravel/actions?query=workflow%3A\"Fix+PHP+code+style+issues\"+branch%3Amain)\n[![Total Downloads](https://img.shields.io/packagist/dt/amdadulhaq/setting-laravel.svg?style=flat-square)](https://packagist.org/packages/amdadulhaq/setting-laravel)\n\nThis is a minimal setting option package for Laravel. You can easily use on your project.\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require amdadulhaq/setting-laravel\n```\n\nYou can publish and run the migrations with:\n\n```bash\nphp artisan vendor:publish --tag=\"setting-laravel-migrations\"\nphp artisan migrate\n```\n\n## Usage\n\n```php\nuse AmdadulHaq\\Setting\\Models\\Setting;\n\nSetting::set('app_name', 'Laravel');\n\nreturn Setting::get('name');\n// Laravel\n\nreturn Setting::remove('name');\n// true\n```\n\nor more simple ways\n\n```php\nsetting()-\u003eset('app_name', 'Laravel');\n\nreturn setting()-\u003eget('app_name');\n// Laravel\n\nreturn setting()-\u003eremove('app_name');\n// true\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](CONTRIBUTING.md) for details.\n\n## Security Vulnerabilities\n\nPlease review [our security policy](../../security/policy) on how to report security vulnerabilities.\n\n## Credits\n\n-   [Amdadul Haq](https://github.com/amdad121)\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%2Famdad121%2Fsetting-laravel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famdad121%2Fsetting-laravel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famdad121%2Fsetting-laravel/lists"}