{"id":43003116,"url":"https://github.com/codepeak/dsettings","last_synced_at":"2026-01-31T04:30:51.125Z","repository":{"id":14362244,"uuid":"17072033","full_name":"codepeak/dsettings","owner":"codepeak","description":"Store settings in the database and use cache to increase performance","archived":false,"fork":false,"pushed_at":"2015-04-24T19:59:29.000Z","size":160,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-17T12:02:58.782Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codepeak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-21T22:25:09.000Z","updated_at":"2015-04-24T19:59:29.000Z","dependencies_parsed_at":"2022-08-30T02:03:11.253Z","dependency_job_id":null,"html_url":"https://github.com/codepeak/dsettings","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codepeak/dsettings","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepeak%2Fdsettings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepeak%2Fdsettings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepeak%2Fdsettings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepeak%2Fdsettings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codepeak","download_url":"https://codeload.github.com/codepeak/dsettings/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepeak%2Fdsettings/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28929700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"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":[],"created_at":"2026-01-31T04:30:50.288Z","updated_at":"2026-01-31T04:30:51.115Z","avatar_url":"https://github.com/codepeak.png","language":"PHP","readme":"# DSetting (Laravel4 Package)\n\n[![Build Status](https://travis-ci.org/codepeak/dsettings.png)](https://travis-ci.org/codepeak/dsettings)\n\nStore and handle custom settings in the database. Will use the Laravel cache system to minimize database queries.\n\n## Quick start\n\n### Required setup\n\nIn the `require` key of `composer.json` file add the following\n\n    \"codepeak/dsettings\": \"dev-master\"\n\nRun the Composer update comand\n\n    $ composer update\n\nIn your `config/app.php` add `'Codepeak\\Dsettings\\DsettingsServiceProvider'` to the end of the `$providers` array\n\n    'providers' =\u003e array(\n\n        'Illuminate\\Foundation\\Providers\\ArtisanServiceProvider',\n        'Illuminate\\Auth\\AuthServiceProvider',\n        ...\n        'Codepeak\\Dsettings\\DsettingsServiceProvider',\n\n    ),\n\nAt the end of `config/app.php` add `'DSetting'    =\u003e 'Codepeak\\Dsettings\\Facades\\DSetting'` to the `$aliases` array\n\n    'aliases' =\u003e array(\n\n        'App'        =\u003e 'Illuminate\\Support\\Facades\\App',\n        'Artisan'    =\u003e 'Illuminate\\Support\\Facades\\Artisan',\n        ...\n        'DSetting'    =\u003e 'Codepeak\\Dsettings\\Facades\\DSetting',\n\n    ),\n\nRun the migration update command to create the `settings` table\n\n    $ php artisan migrate --package=codepeak/dsettings\n    \n### Usage\n\nGet value from the database (or cache if fetched earlier)\n\n    \\DSetting::get('database.key');\n    \nStore or update value\n\n    \\DSetting::set('database.key', 'my nice value');\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodepeak%2Fdsettings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodepeak%2Fdsettings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodepeak%2Fdsettings/lists"}