{"id":24856667,"url":"https://github.com/secondtruth/wumbo","last_synced_at":"2025-07-01T13:33:05.646Z","repository":{"id":58806281,"uuid":"533500820","full_name":"secondtruth/wumbo","owner":"secondtruth","description":"A simple framework for web applications written in PHP.","archived":false,"fork":false,"pushed_at":"2023-01-03T00:56:34.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T20:48:01.373Z","etag":null,"topics":[],"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/secondtruth.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-09-06T21:01:00.000Z","updated_at":"2022-09-06T21:01:08.000Z","dependencies_parsed_at":"2023-02-01T04:35:15.817Z","dependency_job_id":null,"html_url":"https://github.com/secondtruth/wumbo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondtruth%2Fwumbo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondtruth%2Fwumbo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondtruth%2Fwumbo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondtruth%2Fwumbo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/secondtruth","download_url":"https://codeload.github.com/secondtruth/wumbo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245679187,"owners_count":20654788,"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":[],"created_at":"2025-01-31T16:45:04.779Z","updated_at":"2025-03-26T15:24:00.586Z","avatar_url":"https://github.com/secondtruth.png","language":"PHP","readme":"# Wumbo Framework\n\n***Go from Mini to Wumbo!***\n\nWumbo is a framework for building simple web applications in PHP.\n\n\n## Installation\n\n### Install via Composer\n\n[Install Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos) if you don't already have it present on your system.\n\nTo install the library, run the following command and you will get the latest version:\n\n    $ composer require secondtruth/wumbo:dev-main\n\n\n## Usage\n\nCreate a new file called `public/index.php` and add some code like this:\n\n```php\n\u003c?php\nnamespace Secondtruth\\SampleWebsite;\n\nuse DI\\Container;\nuse Secondtruth\\Wumbo\\Application;\nuse Secondtruth\\Wumbo\\View\\Templating\\TemplatingEngineInterface;\nuse Secondtruth\\Wumbo\\View\\Templating\\TwigEngine;\nuse Secondtruth\\Wumbo\\Loader\\Routes\\MultisiteRoutesLoader;\n\ndefine('APP_ROOT', realpath(__DIR__ . '/..'));\ndefine('CONFIG_DIR', APP_ROOT . '/config');\n\nrequire APP_ROOT . '/vendor/autoload.php';\n\n// Create a DI container to inject the dependencies you want to use.\n// We use the PHP-DI container here, but you can use any other PSR-11 compatible container as well.\n// In this example, we set Twig as our template engine.\n$container = new Container();\n$container-\u003eset(TemplatingEngineInterface::class, TwigEngine::create(APP_ROOT . '/resources/views', [\n    'cache' =\u003e APP_ROOT . '/var/cache/twig',\n]));\n\n// Create and set up a routes loader and give it to the application.\n$routesLoader = new MultisiteRoutesLoader(CONFIG_DIR);\n$routesLoader-\u003eregisterSite('example.com'); // Give the domain of your website\n\n// Create a new Application instance and set routes loader and container.\n$app = new Application($routesLoader, $container);\n$app-\u003esetCachePath(APP_ROOT . '/var/cache');\n\n$app-\u003erun();\n```\n\n\n## Author, Credits and License\n\nThis project was created by [Christian Neff](https://www.secondtruth.de) ([@secondtruth](https://github.com/secondtruth))\nand is licensed under the MIT license.\n  \nThanks to [all other Contributors](https://github.com/secondtruth/wumbo/graphs/contributors)!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecondtruth%2Fwumbo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecondtruth%2Fwumbo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecondtruth%2Fwumbo/lists"}