[PR #86] Phar + composer global require #123

Closed
opened 2026-02-25 21:33:24 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/DBDiff/DBDiff/pull/86

State: closed
Merged: No


Put into practice changes described here: https://github.com/DBDiff/DBDiff/issues/73

Now we can simply install DBDiff globally using:

composer global require "dbdiff/dbdiff:@dev"

Or we can build a Phar:

  1. Clone the repository;
  2. composer install
  3. ./build
  4. Find a Phar in dist folder
  5. You can rename "dbdiff.phar" to "dbdiff" and move it to /usr/local/bin, for example.
**Original Pull Request:** https://github.com/DBDiff/DBDiff/pull/86 **State:** closed **Merged:** No --- Put into practice changes described here: https://github.com/DBDiff/DBDiff/issues/73 Now we can simply install DBDiff globally using: ``` composer global require "dbdiff/dbdiff:@dev" ``` Or we can build a Phar: 1. Clone the repository; 2. ```composer install``` 3. ```./build``` 4. Find a Phar in dist folder 5. You can rename "dbdiff.phar" to "dbdiff" and move it to /usr/local/bin, for example.
kerem 2026-02-25 21:33:24 +03:00
kerem changed title from [PR #86] [CLOSED] Phar + composer global require to [PR #86] Phar + composer global require 2026-02-27 12:38:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/DBDiff#123
No description provided.