Skip to content

v2.0.0

Compare
Choose a tag to compare
@pjcdawkins pjcdawkins released this 05 May 13:48
· 2536 commits to development since this release

Upgrading from 1.x to 2.x

composer global update

Changes

New built-in commands

platform <cmd>

  • users, user:add, user:role, user:delete - Manage users on the project.
  • project:metadata - Read project metadata, and update the project title.
  • routes - View environment routes.
  • sql - Run SQL on the remote environment.
  • sql-dump - Make a local dump of the remote environment's database.
  • dir - Find the local project root. This may be useful for scripted use.

New shell aliases:

  • plgit - Run git in the repository directory. This can be used from anywhere inside the project root.
  • pldr - Run drush (if installed) for the local environment. This can also be used from anywhere inside the project root.

To use the shell aliases you should include the platform.rc file in your shell configuration. See the README for more information.

Backwards compatibility breaking changes since v1.x:

  • Use Guzzle 5 (so PHP 5.4 is now required)
  • The environment:deactivate command has been removed - use environment:delete instead