{"id":15516769,"url":"https://github.com/samrap/gestalt","last_synced_at":"2025-10-09T08:21:33.537Z","repository":{"id":52883952,"uuid":"67276253","full_name":"samrap/gestalt","owner":"samrap","description":"Gestalt is a simple, elegant PHP package for managing your framework's configuration values.","archived":false,"fork":false,"pushed_at":"2016-11-20T23:51:31.000Z","size":58,"stargazers_count":16,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-21T22:51:51.470Z","etag":null,"topics":["config","config-management","php"],"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/samrap.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":"2016-09-03T07:01:46.000Z","updated_at":"2022-08-04T04:55:17.000Z","dependencies_parsed_at":"2022-08-23T18:50:59.062Z","dependency_job_id":null,"html_url":"https://github.com/samrap/gestalt","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/samrap/gestalt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrap%2Fgestalt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrap%2Fgestalt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrap%2Fgestalt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrap%2Fgestalt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samrap","download_url":"https://codeload.github.com/samrap/gestalt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrap%2Fgestalt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001101,"owners_count":26082991,"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-10-09T02:00:07.460Z","response_time":59,"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":["config","config-management","php"],"created_at":"2024-10-02T10:09:51.552Z","updated_at":"2025-10-09T08:21:33.520Z","avatar_url":"https://github.com/samrap.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gestalt\n\n[![StyleCI](https://styleci.io/repos/67276253/shield?style=flat)](https://styleci.io/repos/67276253)\n[![Build Status](https://travis-ci.org/samrap/gestalt.svg?branch=master)](https://travis-ci.org/samrap/gestalt)\n[![Latest Stable Version](https://poser.pugx.org/samrap/gestalt/v/stable)](https://packagist.org/packages/samrap/gestalt)\n[![Total Downloads](https://poser.pugx.org/samrap/gestalt/downloads)](https://packagist.org/packages/samrap/gestalt)\n[![Latest Unstable Version](https://poser.pugx.org/samrap/gestalt/v/unstable)](https://packagist.org/packages/samrap/gestalt)\n\n\u003e **ge·stalt (n):** _Something that is made of many parts and yet is somehow more than or different from the combination of its parts; broadly : the general quality or character of something._\n\nGestalt is a simple and elegant PHP package for managing your framework's configuration values. It is lightweight, flexible, framework agnostic, and has no dependencies other than PHP itself.\n\n### Features\n- **Lightweight:** Gestalt is built to be lightweight. No dependencies, no bloat, just an object-oriented wrapper around your framework's configuration.\n- **Powerful:** Who said lightweight means powerless? Gestalt has a small footprint but packs a mean punch. Just take a look at its [Custom Loaders](https://github.com/samrap/gestalt-docs/blob/master/loaders.md) and [Observers](https://github.com/samrap/gestalt-docs/blob/master/observers.md) and you'll see for yourself.\n- **Flexible:** Developers like to do things _our_ way. Gestalt gives you the flexibility to integrate seamlessly with your application.\n- **Expressive syntax**: With its clean, collection-like syntax, code artisans will feel right at home. Messy developers will like it too!\n\n### Examples\n\nThe following are just a few of the features Gestalt has to offer. [Visit the docs](https://github.com/samrap/gestalt-docs) for more on installation, usage, and features.\n\n**Basic Usage** ([Learn More](https://github.com/samrap/gestalt-docs/blob/master/introduction.md))\n\n```php\n$config = new Configuration([\n    'app' =\u003e [\n        'debug' =\u003e true,\n        'version' =\u003e '1.0',\n    ],\n]);\n\n// Get values using dot notation or ArrayAccess.\n$config-\u003eget('app.debug');\n$config['app'];\n\n// Add values using dot notation or ArrayAccess.\n$config-\u003eadd('app.locale', 'en');\n$config['mail'] = ['driver' =\u003e 'MailMonkey'];\n```\n\n**Custom Loading** ([Learn More](https://github.com/samrap/gestalt-docs/blob/master/loaders.md))\n\n```php\n$config = Configuration::load(new JsonFileLoader);\n\n$config-\u003eget('app.debug');\n```\n\n**Observers** ([Learn More](https://github.com/samrap/gestalt-docs/blob/master/observers.md))\n\n```php\n$config = new Configuration($values);\n\n$config-\u003eattach(new StatefulObserver);\n\n// Notifies the StatefulObserver that the\n// Configuration has been updated.\n$config-\u003eset('app.debug', false);\n```\n\nInterested? [Check out the docs](https://github.com/samrap/gestalt-docs) to see all of the features in action!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamrap%2Fgestalt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamrap%2Fgestalt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamrap%2Fgestalt/lists"}