[PR #86] [CLOSED] Phar + composer global require #255

Closed
opened 2026-03-07 20:42:32 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/DBDiff/DBDiff/pull/86
Author: @plashenkov
Created: 9/14/2018
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 2ff3b13 Phar + composer global require

📊 Changes

4 files changed (+38 additions, -4 deletions)

View changed files

build (+25 -0)
📝 dbdiff (+5 -2)
dbdiff.php (+6 -0)
📝 src/Params/FSGetter.php (+2 -2)

📄 Description

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.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/DBDiff/DBDiff/pull/86 **Author:** [@plashenkov](https://github.com/plashenkov) **Created:** 9/14/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`2ff3b13`](https://github.com/DBDiff/DBDiff/commit/2ff3b13f6a8357449b04877662eb79449be1c83c) Phar + composer global require ### 📊 Changes **4 files changed** (+38 additions, -4 deletions) <details> <summary>View changed files</summary> ➕ `build` (+25 -0) 📝 `dbdiff` (+5 -2) ➕ `dbdiff.php` (+6 -0) 📝 `src/Params/FSGetter.php` (+2 -2) </details> ### 📄 Description 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-07 20:42:32 +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#255
No description provided.