{"id":14968598,"url":"https://github.com/jhedstrom/drupaldriver","last_synced_at":"2025-05-14T23:06:41.340Z","repository":{"id":21395763,"uuid":"24713594","full_name":"jhedstrom/DrupalDriver","owner":"jhedstrom","description":"A collection of drivers for controlling Drupal.","archived":false,"fork":false,"pushed_at":"2025-02-25T20:33:45.000Z","size":839,"stargazers_count":64,"open_issues_count":75,"forks_count":99,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-14T23:06:22.053Z","etag":null,"topics":["drupal","drupal-8","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhedstrom.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["jhedstrom"]}},"created_at":"2014-10-02T09:29:18.000Z","updated_at":"2025-02-25T20:33:50.000Z","dependencies_parsed_at":"2024-07-09T20:21:47.437Z","dependency_job_id":"3d2690b8-9569-422a-8b6c-cfb1977f57d7","html_url":"https://github.com/jhedstrom/DrupalDriver","commit_stats":{"total_commits":936,"total_committers":107,"mean_commits":8.74766355140187,"dds":"0.45619658119658124","last_synced_commit":"5a92b2232d3fa668069b4d06f5b5811bddbd6e27"},"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhedstrom%2FDrupalDriver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhedstrom%2FDrupalDriver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhedstrom%2FDrupalDriver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhedstrom%2FDrupalDriver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhedstrom","download_url":"https://codeload.github.com/jhedstrom/DrupalDriver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254243362,"owners_count":22038046,"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":["drupal","drupal-8","php"],"created_at":"2024-09-24T13:40:16.513Z","updated_at":"2025-05-14T23:06:36.332Z","avatar_url":"https://github.com/jhedstrom.png","language":"PHP","funding_links":["https://github.com/sponsors/jhedstrom"],"categories":[],"sub_categories":[],"readme":"\u003c?php\n\n/**\n * @file\n */\n?\u003e\n[![Build Status](https://github.com/jhedstrom/DrupalDriver/actions/workflows/ci.yml/badge.svg)](https://github.com/jhedstrom/DrupalDriver/actions/workflows/ci.yml)\n\nProvides a collection of light-weight drivers with a common interface for interacting with [Drupal](http://drupal.org). These are generally intended for testing, and are not meant to be API-complete.\n\n[Read the full documentation](http://drupal-drivers.readthedocs.org)\n\n[![Latest Stable Version](https://poser.pugx.org/drupal/drupal-driver/v/stable.svg)](https://packagist.org/packages/drupal/drupal-driver) [![Total Downloads](https://poser.pugx.org/drupal/drupal-driver/downloads.svg)](https://packagist.org/packages/drupal/drupal-driver) [![License](https://poser.pugx.org/drupal/drupal-driver/license.svg)](https://packagist.org/packages/drupal/drupal-driver) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/jhedstrom/DrupalDriver/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/jhedstrom/DrupalDriver/?branch=master)\n\n### Drivers\n\nThese drivers support Drupal versions 7 and 8.\n\n* Blackbox\n* Direct Drupal API bootstrap\n* Drush\n\n### Installation\n\n``` json\n{\n  \"require\": {\n    \"drupal/drupal-driver\": \"~2.0\"\n  }\n}\n```\n\n``` bash\n$\u003e curl -sS http://getcomposer.org/installer | php\n$\u003e php composer.phar install\n```\n\n### Usage\n\n``` php\n\u003c?php\n\nuse Drupal\\Driver\\DrupalDriver;\n\nrequire 'vendor/autoload.php';\n\n// Path to Drupal.\n$path = './drupal-8';\n\n// Host.\n$uri = 'http://d8.devl';\n\n$driver = new DrupalDriver($path, $uri);\n$driver-\u003esetCoreFromVersion();\n\n// Bootstrap Drupal.\n$driver-\u003ebootstrap();\n\n// Create a node.\n$node = (object) array(\n  'type' =\u003e 'article',\n  'uid' =\u003e 1,\n  'title' =\u003e $driver-\u003egetRandom()-\u003ename(),\n);\n$driver-\u003ecreateNode($node);\n```\n\n### Contributing\n\nFeatures and bug fixes are welcome! First-time contributors can jump in with the\nissues tagged [good first issue](https://github.com/jhedstrom/DrupalDriver/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22).\n\nSee [CONTRIBUTING.md](https://github.com/jhedstrom/DrupalDriver/blob/master/CONTRIBUTING.md) for more information.\n\n### Release notes\n\nSee [CHANGELOG](CHANGELOG.MD).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhedstrom%2Fdrupaldriver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhedstrom%2Fdrupaldriver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhedstrom%2Fdrupaldriver/lists"}