webship / webship-project
Project template for the webship.co Portal site
Package info
github.com/webship/webship-project
Language:JavaScript
Type:project
pkg:composer/webship/webship-project
Requires
- composer/installers: ~2
- cweagans/composer-patches: ~2.0
- drupal/core: ^11.4 || ^12
- drupal/core-composer-scaffold: ^11.4 || ^12
- drupal/webship_portal: ~1.0
- drupal/webship_starter: ~1.0
- drupal/website_starter: ~1.0
- drush/drush: ^13.7 || ^14
- mglaman/composer-drupal-lenient: ^2.0
- oomphinc/composer-installers-extender: ~2.0
- webship/patches: ~12.0
- webship/webship: ~12.0
Requires (Dev)
Suggests
None
Provides
None
Conflicts
Replaces
None
This package is auto-updated.
Last update: 2026-11-12 21:48:53 UTC
README
Webship
The Webship.co portal site was built on top of Drupal, as it has many options, tools, frameworks, and configuration management, which are needed in building solutions.
Create a site with DDEV
DDEV is the documented way to run Webship. Composer, PHP, Drush and the database all run inside DDEV, so nothing is needed on your machine but DDEV itself.
mkdir my-site && cd my-site ddev config --project-type=drupal --docroot=web --database=mysql:8.0 ddev start ddev composer create-project drupal/webship_project:~12.0 ddev restart ddev drush site:install webship --account-name=webmaster -y ddev drush user:login ddev launch
ddev restart picks up the .ddev/config.yaml the template ships (PHP 8.4,
Node.js 24, MySQL 8.0, Apache), which lands in the project during
ddev composer create-project and replaces the one ddev config wrote. The
project name is not in that file: DDEV takes it from the directory, so the site
is at https://<directory>.ddev.site. The database type must match that file
from the first ddev start, hence --database=mysql:8.0.
To answer the install questions in a browser instead, skip the site:install
line and run ddev launch right away.
For the development version, use the branch constraint:
ddev composer create-project drupal/webship_project:12.0.x-dev
Drupal 12 (beta)
The template installs the latest Drupal 11 by default. It also allows Drupal 12,
which needs PHP 8.5. To try it, set php_version: "8.5" in .ddev/config.yaml
(a DDEV release with PHP 8.5 is needed), then:
ddev restart ddev composer config --unset platform.php ddev composer require --no-update drupal/core:^12 drupal/core-composer-scaffold:^12 drupal/search:^1 ddev composer update -W
Search left Drupal core in Drupal 12; Webship Portal uses it, so the contrib
drupal/search module comes with the upgrade.
Contributed modules that don't declare Drupal 12 support yet are allowed by the
mglaman/composer-drupal-lenient plugin (extra.drupal-lenient.allowed-list),
and webship/patches adds ^12 to their info files. Some of them still fail on
Drupal 12; see the Webship issue queue.
Requirements
- DDEV.
- Drupal core
^11.4, or^12with PHP 8.5. - Node.js 24 or 26, for the
webship-jstest suite intests/.
Links
- Project page: https://www.drupal.org/project/webship
- Issue queue: https://www.drupal.org/project/issues/webship
- Source: https://git.drupalcode.org/project/webship_project