{"id":18400472,"url":"https://github.com/docksal/boilerplate-drupal9-composer","last_synced_at":"2025-04-07T06:33:30.158Z","repository":{"id":40418026,"uuid":"269404480","full_name":"docksal/boilerplate-drupal9-composer","owner":"docksal","description":"Drupal 9 Composer boilerplate project powered by Docksal","archived":false,"fork":false,"pushed_at":"2022-05-09T23:47:24.000Z","size":72,"stargazers_count":15,"open_issues_count":0,"forks_count":14,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-22T11:30:42.681Z","etag":null,"topics":["docksal","drupal","php"],"latest_commit_sha":null,"homepage":"https://docksal.io","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/docksal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-04T16:03:48.000Z","updated_at":"2022-11-23T18:47:12.000Z","dependencies_parsed_at":"2022-08-09T19:50:46.896Z","dependency_job_id":null,"html_url":"https://github.com/docksal/boilerplate-drupal9-composer","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docksal%2Fboilerplate-drupal9-composer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docksal%2Fboilerplate-drupal9-composer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docksal%2Fboilerplate-drupal9-composer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docksal%2Fboilerplate-drupal9-composer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docksal","download_url":"https://codeload.github.com/docksal/boilerplate-drupal9-composer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247208400,"owners_count":20901570,"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":["docksal","drupal","php"],"created_at":"2024-11-06T02:33:40.694Z","updated_at":"2025-04-07T06:33:27.439Z","avatar_url":"https://github.com/docksal.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docksal powered Drupal 9 With Composer Installation\n\nThis is a sample Drupal 9 with Composer installation pre-configured for use with Docksal.\n\nFeatures:\n\n- Drupal 9 Composer Project\n- `fin init` [example](.docksal/commands/init)\n- Using the [default](.docksal/docksal.env#L9) Docksal LAMP stack with [image version pinning](.docksal/docksal.env#L13-L15)\n- PHP and MySQL settings overrides [examples](.docksal/etc)\n\n## Setup instructions\n\n### Step #1: Docksal environment setup\n\n**This is a one time setup - skip this if you already have a working Docksal environment.**\n\nFollow [Docksal environment setup instructions](https://docs.docksal.io/getting-started/setup/)\n\n### Step #2: Project setup\n\n1. Clone this repo into your Projects directory\n\n    ```\n    git clone https://github.com/docksal/boilerplate-drupal9-composer.git drupal9\n    cd drupal9\n    ```\n\n2. Initialize the site\n\n    This will initialize local settings and install the site via drush\n\n    ```\n    fin init\n    ```\n   A `composer.lock` file will be generated. This file should be committed to your repository.\n\n3. Point your browser to\n\n    ```\n    http://drupal9.docksal\n    ```\n\nWhen the automated install is complete the command line output will display the admin username and password.\n\n\n## More automation with 'fin init'\n\nSite provisioning can be automated using `fin init`, which calls the shell script in [.docksal/commands/init](.docksal/commands/init).\nThis script is meant to be modified per project. The one in this repo will give you a good starting example.\n\nSome common tasks that can be handled by the init script (an other [custom commands](https://docs.docksal.io/fin/custom-commands/)):\n\n- initialize local settings files for Docker Compose, Drupal, Behat, etc.\n- import DB or perform a site install\n- compile Sass\n- run DB updates, revert features, clear caches, etc.\n- enable/disable modules, update variables values\n\n\n## Security notice\n\nThis repo is intended for quick start demos and includes a hardcoded value for `hash_salt` in `settings.php`.\nIf you are basing your project code base on this repo, make sure you regenerate and update the `hash_salt` value.\nA new value can be generated with `drush ev '$hash = Drupal\\Component\\Utility\\Crypt::randomBytesBase64(55); print $hash . \"\\n\";'`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocksal%2Fboilerplate-drupal9-composer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocksal%2Fboilerplate-drupal9-composer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocksal%2Fboilerplate-drupal9-composer/lists"}