{"id":14985412,"url":"https://github.com/devvoh/parable","last_synced_at":"2025-04-11T15:31:38.550Z","repository":{"id":33627132,"uuid":"37279417","full_name":"devvoh/parable","owner":"devvoh","description":"Parable is a PHP micro-framework, intended to just let you do your thing.","archived":false,"fork":false,"pushed_at":"2021-03-12T10:22:45.000Z","size":1021,"stargazers_count":22,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-03-15T09:02:52.573Z","etag":null,"topics":["composer","framework","micro","micro-framework","parable","php","php-framework","php5","php7"],"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/devvoh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG-HISTORY.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-11T18:44:51.000Z","updated_at":"2024-03-15T09:02:52.574Z","dependencies_parsed_at":"2022-08-17T19:30:57.222Z","dependency_job_id":null,"html_url":"https://github.com/devvoh/parable","commit_stats":null,"previous_names":[],"tags_count":78,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devvoh%2Fparable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devvoh%2Fparable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devvoh%2Fparable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devvoh%2Fparable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devvoh","download_url":"https://codeload.github.com/devvoh/parable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248431489,"owners_count":21102208,"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":["composer","framework","micro","micro-framework","parable","php","php-framework","php5","php7"],"created_at":"2024-09-24T14:10:56.108Z","updated_at":"2025-04-11T15:31:34.574Z","avatar_url":"https://github.com/devvoh.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## DEPRECATION NOTICE\n\nNOTE: `devvoh/parable:1.2.2` is now no longer being developed. For the next chapter in Parable's future, go to [`parable-php/framework`](https://github.com/parable-php/framework) for the 2.0.0 version.\n\nParable 2.0.0 is a full rewrite, but it is possible to move over an application built on the 1.0 family to 2.0 in a reasonable time. If you need any assistance, please open an issue [here](https://github.com/parable-php/framework/issues).\n\nThank you for supporting Parable!\n\n## Parable PHP Framework\n\n[![Build Status](https://travis-ci.org/devvoh/parable.svg?branch=master)](https://travis-ci.org/devvoh/parable)\n[![Latest Stable Version](https://poser.pugx.org/devvoh/parable/v/stable)](https://packagist.org/packages/devvoh/parable)\n[![Latest Unstable Version](https://poser.pugx.org/devvoh/parable/v/unstable)](https://packagist.org/packages/devvoh/parable)\n[![License](https://poser.pugx.org/devvoh/parable/license)](https://packagist.org/packages/devvoh/parable)\n[![StyleCI](https://styleci.io/repos/37279417/shield?branch=master)](https://styleci.io/repos/37279417)\n\nParable is a PHP micro-framework intended to be readable, extensible and out-of-your-way.\n\n## Installation\n\nParable can be installed by using [Composer](http://getcomposer.org/).\n\n```bash\n$ composer require devvoh/parable\n```\n\nThis will install Parable and all required dependencies. Parable requires PHP 5.6 or higher.\n\n## Simple Usage\n\nCreate an `index.php` file and include the composer autoloader: \n\n```php\n\u003c?php\nrequire_once __DIR__ . '/vendor/autoload.php';\n\n$app = \\Parable\\DI\\Container::create(\\Parable\\Framework\\App::class);\n\n$app-\u003eget('/hello/{name}', function ($name) use ($app) {\n    return \"Hello, {$name}!\";\n});\n\n$app-\u003erun();\n```\n\nThen go into the `vendor/devvoh/parable` directory and run `make server`. You can then open `http://127.0.0.1:5678/hello/parable` and you should be greeted by \"Hello, parable!\". You can also serve it through a regular webserver.\n\n## Advanced Usage\n\nTo use Parable for more than straightforward apps like in the Basic Usage above, and you want to use Controllers, Actions, Views and more, after installation, run the following command:\n\n```bash\n$ vendor/bin/parable init-structure\n```\n\nNow you're ready! Simply open the url it should be at in in your browser and you should see a welcome page.\n\nIf you want to use nginx or another server, that's cool too, but as of yet there's no example configuration available.\n\n## Getting Started\n\nAfter you've run `parable init-structure`, you should have a basic structure to work from. The example files show most of what you'll need to build something. The example `\\Config\\App` file includes some of the most important things Parable itself will listen to.\n\nNow, if you want to keep this out of your git (or other vcs) repository, you can place this in a separate config file and exclude it using a `.gitignore` file.\n\n## More information\n\nRead the [documentation](https://devvoh.com/parable/docs/1.0) for more detailed information on how to use Parable, and [CHANGELOG.md](CHANGELOG.md) for recent changes.\n\n## Contributing\n\nAny help in improving Parable is much appreciated, but check [CONTRIBUTING.md](CONTRIBUTING.md) before creating any pull requests.\n\n## Contact\n\nAny questions or constructive feedback? Find me at [devvoh.com](http://devvoh.com) or ask me a question by adding an issue on github. I generally respond fairly quickly, since this is a passion project, after all.\n\n## License\n\nParable PHP Framework is open-sourced software licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevvoh%2Fparable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevvoh%2Fparable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevvoh%2Fparable/lists"}