{"id":18929728,"url":"https://github.com/thecodingmachine/harmony-symfony-module","last_synced_at":"2026-03-16T16:30:18.453Z","repository":{"id":30967191,"uuid":"34525373","full_name":"thecodingmachine/harmony-symfony-module","owner":"thecodingmachine","description":" This package is an Harmony module for the Symfony 2 PHP framework. ","archived":false,"fork":false,"pushed_at":"2015-04-25T14:08:09.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"2.0","last_synced_at":"2025-02-16T12:30:27.225Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thecodingmachine.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":"2015-04-24T15:08:56.000Z","updated_at":"2015-04-25T14:08:09.000Z","dependencies_parsed_at":"2022-09-08T18:20:52.654Z","dependency_job_id":null,"html_url":"https://github.com/thecodingmachine/harmony-symfony-module","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/thecodingmachine%2Fharmony-symfony-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fharmony-symfony-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fharmony-symfony-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fharmony-symfony-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecodingmachine","download_url":"https://codeload.github.com/thecodingmachine/harmony-symfony-module/tar.gz/refs/heads/2.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239927825,"owners_count":19719835,"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-08T11:34:46.574Z","updated_at":"2026-03-16T16:30:18.405Z","avatar_url":"https://github.com/thecodingmachine.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Symfony2's Harmony module\n=========================\n\nThis package contains a module that connects the Harmony user interface to the Symfony 2 PHP framework.\n\nStep 1: Download the Module\n---------------------------\n\nInclude the package in your **composer.json**:\n\n**composer.json**\n```\n{\n  \"require-dev\": {\n    \"harmony/harmony\": \"~1.0\",\n    \"harmony/symfony-module\": \"~2.0\"\n  }\n}\n```\n\nOpen a command console, enter your project directory and execute the\nfollowing command to download the latest stable version of this bundle:\n\n```bash\n$ composer update\n```\n\nStep 2: Install the bundle in your Symfony application\n------------------------------------------------------\n\nThen, enable the bundle by adding the following line in the `app/AppKernel.php`\nfile of your project:\n\n```php\n\u003c?php\n// app/AppKernel.php\n\n// ...\nclass AppKernel extends Kernel\n{\n    public function registerBundles()\n    {\n        $bundles = array(\n            // ...\n\n            new Harmony\\Bundle\\SymfonyBundle\\HarmonySymfonyBundle(),\n        );\n\n        // ...\n    }\n\n    // ...\n}\n```\n\nStep 3: Register the Symfony module with Harmony\n------------------------------------------------\n\nNow, create a **modules.php** file at the root of your package and instantiate\nthe Symfony module:\n\n**modules.php**\n```php\n\u003c?php\nreturn [\n    new Harmony\\Bundle\\SymfonyBundle\\SymfonyModule()\n];\n```\n\nYou are done! Now, start Harmony. Harmony modules should be able to detect your Symfony services and act accordingly!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Fharmony-symfony-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodingmachine%2Fharmony-symfony-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Fharmony-symfony-module/lists"}