imagex / swat
A Robo CLI tool for ImageX Projects in Drupal 8+
6.1.23
2025-02-14 15:43 UTC
Requires
- php: >=8.0
- ext-posix: *
- acquia/coding-standards: ^3.0
- acquia/drupal-recommended-settings: ^1.0
- consolidation/config: ^2 || ^3
- consolidation/robo: ^4 || ^5
- cweagans/composer-patches: ^1.7
- drush/drush: ^12.5 || 13
- php-parallel-lint/php-parallel-lint: ^1.4
- phpro/grumphp: ^2.5
- 6.2.x-dev
- 6.1.x-dev
- 6.1.23
- 6.1.22
- 6.1.21
- 6.1.20
- 6.1.19
- 6.1.18
- 6.1.17
- 6.1.16
- 6.1.15
- 6.1.14
- 6.1.13
- 6.1.12
- 6.1.11
- 6.1.10
- 6.1.9
- 6.1.8
- 6.1.7
- 6.1.6
- 6.1.5
- 6.1.4
- 6.1.3
- 6.1.2
- 6.1.1
- 6.1.0
- 6.0.x-dev
- 6.0.9
- 6.0.8
- 6.0.7
- 6.0.6
- 6.0.5
- 6.0.4
- 6.0.3
- 6.0.2
- 6.0.1
- 6.0.0
- 5.x-dev
- 5.1.4
- 5.1.3
- 5.1.2
- 5.1.1
- 5.1.0
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 4.x-dev
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 4.0.0-alpha2
- 4.0.0-alpha1
- 3.x-dev
- 3.1.0
- 3.0.8
- 3.0.7
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.x-dev
- 2.0.0-rc2
- 2.0.0-rc1
- 2.0.0-alpha2
- 2.0.0-alpha1
- 1.0.0-alpha4
- 1.0.0-alpha3
- 1.0.0-alpha2
- 1.0.0-alpha1
- dev-feature/IMGX1823-71-ddev-testing
- dev-feature/IMGX1823-73
- dev-feature/IXMDEV-490-figma-integration
- dev-feature/IXMDEV-322-install-and-enable-user-prote
- dev-Anatolii-Poliakov/grumphpyml-edited-online-with-bitbucket-1723368323809
- dev-openy
- dev-master
This package is auto-updated.
Last update: 2025-06-06 15:09:19 UTC
README
(SUPER WICKED AWESOME TOOL)
SWAT is meant to be a helper for projects within ImageX. It provides a ddev setup, some templated Bitbucket pipelines and deployment helpers. And it's super wicked awesome.
Requirements
SWAT requires the following to run:
- DDev - https://ddev.readthedocs.io/
- Composer - https://getcomposer.org/
- PHP >=8.1
Available Commands
Run ddev swat list
to get a listing of available commands.
GETTING STARTED
New projects must use Drupal 10.
- git clone git@bitbucket.org:ixm/swat-project-template.git <project-name>
- cd <project-name>
rm -rf .git
ddev config --docroot=docroot --project-type=drupal --php-version=8.3
- Initialize a new git repository
git init
git add .
git commit -m "Initial commit"
ddev composer install
- Say no to creating grumphp.yml
ddev swat setup
- Modify
ddev/config.yaml
for any stack changes- PHP, Composer, Node, DB, etc versions to match your remote host
ddev restart
ddev swat install
- Export your config.
- Setup your git remote in
swat/swat.yml
(see example below) - Push your code to Bitbucket:
git remote add origin git@bitbucket.org:example/example.git
git add . && git commit -m "PROJ-1: Initial Setup for <project>."
git push -u origin master
Git:
Example of Git config in swat.yml
for remote:
git:
default_branch: develop
remotes:
cloud: 'ixmcomponents@svn-4707.devcloud.hosting.acquia.com:ixmcomponents.git'
user:
name: 'ImageX Media'
email: no-reply@imagexmedia.com
Hosting Provider
See our internal documentation: Configuring your hosting provider files
See DDEV documentation: Hosting Provider Integration
Existing Projects
Existing projects generally should be manually upgraded until such an update script exists.