All Projects → phar-io → Phive

phar-io / Phive

Licence: other
The Phar Installation and Verification Environment (PHIVE)

Labels

Projects that are alternatives of or similar to Phive

Millesime
Create Phar archive(s) from your PHP project.
Stars: ✭ 35 (-91.25%)
Mutual labels:  phar, tools
Awesome Docker
🐳 A curated list of Docker resources and projects
Stars: ✭ 20,870 (+5117.5%)
Mutual labels:  tools
Dapptools
Dapp, Seth, Hevm, and more
Stars: ✭ 362 (-9.5%)
Mutual labels:  tools
Jql
A JSON Query Language CLI tool
Stars: ✭ 368 (-8%)
Mutual labels:  tools
Time.dart
⏰ Type-safe DateTime and Duration calculations, powered by extensions.
Stars: ✭ 363 (-9.25%)
Mutual labels:  tools
Lazykube
⎈ The lazier way to manage kubernetes.
Stars: ✭ 369 (-7.75%)
Mutual labels:  tools
Awesome Decentralized
🕶 Awesome list of distributed, decentralized, p2p apps and tools 👍
Stars: ✭ 358 (-10.5%)
Mutual labels:  tools
Re Frisk
Take full control of re-frame app
Stars: ✭ 396 (-1%)
Mutual labels:  tools
Mimic
Seamless client side mocking
Stars: ✭ 380 (-5%)
Mutual labels:  tools
Gos
Gos: Armed Golang 💪 ( solutions for go module, goproxy, cross compilation, etc.)
Stars: ✭ 369 (-7.75%)
Mutual labels:  tools
W5
Security Orchestration, Automation and Response (SOAR) Platform. 安全编排与自动化响应平台,无需编写代码的安全自动化,使用 SOAR 可以让团队工作更加高效
Stars: ✭ 367 (-8.25%)
Mutual labels:  tools
Polymorph
Polymorph is a real-time network packet manipulation framework with support for almost all existing protocols
Stars: ✭ 364 (-9%)
Mutual labels:  tools
Sidefxlabs
Stars: ✭ 366 (-8.5%)
Mutual labels:  tools
React Native Slowlog
A high-performance timer based profiler for React Native that helps you track big performance problems.
Stars: ✭ 363 (-9.25%)
Mutual labels:  tools
A Red Teamer Diaries
RedTeam/Pentest notes and experiments tested on several infrastructures related to professional engagements.
Stars: ✭ 382 (-4.5%)
Mutual labels:  tools
Phar Updater
A thing to make PHAR self-updates easy and secure
Stars: ✭ 362 (-9.5%)
Mutual labels:  phar
Mac Mouse Fix
Mac Mouse Fix - A simple way to make your mouse better.
Stars: ✭ 362 (-9.5%)
Mutual labels:  tools
Beeftext
A text snippet tool for Windows.
Stars: ✭ 366 (-8.5%)
Mutual labels:  tools
Linkchecker
check links in web documents or full websites
Stars: ✭ 398 (-0.5%)
Mutual labels:  tools
Protolock
Protocol Buffer companion tool. Track your .proto files and prevent changes to messages and services which impact API compatibility.
Stars: ✭ 394 (-1.5%)
Mutual labels:  tools

The Phar Installation and Verification Environment (PHIVE)

Installation and verification of phar distributed PHP applications has never been this easy!

Code quality checks Build Status

Adding all the required tools like PHPUnit, PHPMD and phpDox in their matching versions to a project used to be a lot of repetitive work: Started by finding the download URL, figuring out what the actually correct and matching version is followed by verifying the sha1 and gpg signatures and making the archive executable. And of course you'd have to repeat this very thing for every tool needed.

Alternatively, you could have used composer. And cluttered your project's dependencies with the ones of your tools. And fight their potential dependency conflicts.

No more! Now you can rely on PHIVE to install and manage your project's tooling needs without all the hassle and without cluttered dependencies!

Getting PHIVE

Installation of PHIVE is easy and about the last time you have to do anything phar related manually. Grab your copy of PHIVE from the releases section at our GitHub page or follow these simple steps:

wget -O phive.phar "https://phar.io/releases/phive.phar"
wget -O phive.phar.asc "https://phar.io/releases/phive.phar.asc"
gpg --keyserver hkps.pool.sks-keyservers.net --recv-keys 0x9D8A98B29B2D5D79
gpg --verify phive.phar.asc phive.phar
rm phive.phar.asc
chmod +x phive.phar
mv phive.phar /usr/local/bin/phive

Sample Usages

Once installed, PHIVE is ready for action. Some example invocations are shown below:

phive install phpunit
phive install --copy phpdox
phive install phpdox bin/phpdox
phive install https://phar.phpunit.de/phpunit-4.8.6.phar
phive install --temporary [email protected]~5.0

phive update
phive update --prefer-offline
phive update phpunit

How it works

PHIVE makes installation easy by downloading the phar archive from the given location, including the verification of the certificate supplied by the server. Once downloaded, the archive's SHA1/SHA256/SHA512 hash is verified and so its OpenPGP/GnuPG or OpenSSL signature.

Instead of redownloading the same phar multiple times, the archive is kept at a shared location (by default in ~/.phive) and only a symbolic link is created for the project. You can of course also explicitly request a copy of the phar to be made in favor of symbolic links (use --copy).

Contributing

PHIVE and phar.io are open source projects released under the BSD license. You are welcome to join the development team!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].