{"id":21364839,"url":"https://github.com/fbn/requiem","last_synced_at":"2025-11-01T07:02:58.828Z","repository":{"id":1240248,"uuid":"1178539","full_name":"FbN/Requiem","owner":"FbN","description":"A php Symfony 2 enhancement","archived":false,"fork":false,"pushed_at":"2010-12-17T23:39:05.000Z","size":96,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-22T19:48:49.718Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"cutiecode.maniacmansion.it","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/FbN.png","metadata":{"files":{"readme":"README","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":"2010-12-17T23:17:26.000Z","updated_at":"2019-08-13T14:39:47.000Z","dependencies_parsed_at":"2022-07-06T13:52:22.846Z","dependency_job_id":null,"html_url":"https://github.com/FbN/Requiem","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/FbN%2FRequiem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FbN%2FRequiem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FbN%2FRequiem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FbN%2FRequiem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FbN","download_url":"https://codeload.github.com/FbN/Requiem/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243839178,"owners_count":20356173,"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":"2024-11-22T07:07:56.606Z","updated_at":"2025-11-01T07:02:53.793Z","avatar_url":"https://github.com/FbN.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"                               \n _____             _           \n| __  |___ ___ _ _|_|___ _____ \n|    -| -_| . | | | | -_|     |\n|__|__|___|_  |___|_|___|_|_|_|\n            |_|                \n---- Symfony2 enahancement ----\n\nRequiem is a php Symfony 2 enhancement\n\nIt's a bundle so to install it simple download and install it under /Bundle/Requiem\nfolder of your Symfony 2.0 project.\n\nFor the moment the budle give you 3 features\n\n[1] RequiemController\n\nUsing RequiemController instead of a normal controller you can declare service as member \nand directly use them so for example you can do a controller like this\n\nuse Bundle\\Requiem\\Services\\RequiemController;\n\nclass TestController extends RequiemController {\n\n  //automatic filled with the doctrine em\n  public $entityService;\n\n  //automatic filled with the request object\n  public $requestService;\n\n  public function indexAction() {    \n    $query = $this-\u003eentityService-\u003ecreateQuery('SELECT u FROM TestBundle:User u WHERE u.email = \"'.$this-\u003erequestService-\u003eget('email').'\"');    \n    ,,,\n  }\n}\n\n[2] RestRequiemController\n\nA special controller useful for rest. Colling it's handle method from the routing it directly call the right action based on the http method\n\nrest:\n    pattern: /rest\n    defaults: { _controller: TestBundle:Test:handle }\n\nuse Bundle\\Requiem\\Services\\RestRequiemController;\n\nclass TestController extends RestRequiemController {\n\n  public $entityService;\n  public $requestService;\n\n  public function doGet() {    \n    ,,,\n  }\n\n  public function doPost() {    \n    ,,,\n  }\n}\n\n[3] RequiemService\n\nExtend this class to have a class with access to the container and the autobind like a RequiemController\n\nChears\n\nTaioli Fabiano\nhttp://cutiecode.maniacmansion.it","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbn%2Frequiem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffbn%2Frequiem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbn%2Frequiem/lists"}