{"id":21059939,"url":"https://github.com/flochtililoch/drupalbundle","last_synced_at":"2025-10-05T02:41:00.849Z","repository":{"id":2588495,"uuid":"3570073","full_name":"flochtililoch/DrupalBundle","owner":"flochtililoch","description":"Symfony2 bundle providing access to Drupal API","archived":false,"fork":false,"pushed_at":"2012-02-28T11:00:54.000Z","size":94,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T00:42:33.534Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/flochtililoch.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":"2012-02-28T10:28:45.000Z","updated_at":"2016-02-24T05:56:29.000Z","dependencies_parsed_at":"2022-08-29T04:52:44.705Z","dependency_job_id":null,"html_url":"https://github.com/flochtililoch/DrupalBundle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flochtililoch/DrupalBundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flochtililoch%2FDrupalBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flochtililoch%2FDrupalBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flochtililoch%2FDrupalBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flochtililoch%2FDrupalBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flochtililoch","download_url":"https://codeload.github.com/flochtililoch/DrupalBundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flochtililoch%2FDrupalBundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278400814,"owners_count":25980619,"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-05T02:00:06.059Z","response_time":54,"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":[],"created_at":"2024-11-19T17:13:53.784Z","updated_at":"2025-10-05T02:41:00.813Z","avatar_url":"https://github.com/flochtililoch.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Drupal Bundle\n====================\n\nIntroduction\n---------------------\n\nProvides Drupal API within your Symfony2 project.\n\n\nRequirements\n---------------------\n\n* [Drupal 6.22](https://github.com/drupal/drupal/tree/6.22 \"Drupal 6.22 on Github\") (not tested with later versions)\n\n\nInstallation\n---------------------\n\n### Download FlochDrupalBundle and add Drupal 6.22 to your vendors\n\nHere are two different method to achieve this:\n\n**Using the vendors script**\n\nAdd the following lines in your `deps` file:\n\n```\n[FlochDrupalBundle]\n    git=git://github.com/flochtililoch/DrupalBundle.git\n    target=bundles/Floch/DrupalBundle\n\n[Drupal]\n    git=git://github.com/drupal/drupal.git\n    target=Drupal/Drupal\n    version=6.22\n```\n\nNow, run the vendors script to download the bundle alongside with Drupal:\n\n``` bash\n$ php bin/vendors install\n```\n\n\n**Using submodules**\n\nIf you prefer instead to use git submodules, then run the following:\n\n``` bash\n$ git submodule add git://github.com/flochtililoch/DrupalBundle.git vendor/bundles/Floch/DrupalBundle\n$ git submodule add git://github.com/drupal/drupal.git vendor/Drupal/Drupal\n$ git submodule update --init\n$ cd vendor/Drupal/Drupal \u0026\u0026 git reset --hard 6.22\n```\n\n### Configure the Autoloader\n\nAdd the `Floch` namespace to your autoloader:\n\n``` php\n\u003c?php\n// app/autoload.php\n\n$loader-\u003eregisterNamespaces(array(\n    // ...\n    'Floch' =\u003e __DIR__.'/../vendor/bundles',\n));\n```\n\n### Enable the bundle\n\nFinally, enable the bundle in the kernel:\n\n``` php\n\u003c?php\n// app/AppKernel.php\n\npublic function registerBundles()\n{\n    $bundles = array(\n        // ...\n        new Floch\\DrupalBundle\\FlochDrupalBundle(),\n    );\n}\n```\n\n\n### Configure your Drupal installation\n\nAdd the following configuration to your parameters.ini file, replacing values with your settings:\n\n``` yaml\ndrupal_path       = /your/drupal/installation/path\ndrupal_db_url     = mysqli://user@host/dbname\ndrupal_db_prefix  = tablesPrefix_\n```\n\n\n### Add default routes to your routing file\n\nAdd the following lines to your routing.yml file:\n\n```yaml\n  FlochDrupalBundle:\n      resource: \"@FlochDrupalBundle/Resources/config/routing.yml\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflochtililoch%2Fdrupalbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflochtililoch%2Fdrupalbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflochtililoch%2Fdrupalbundle/lists"}