secondtruth / Php Phar Compiler
Licence: mit
A generic PHP PHAR compiler.
Stars: ✭ 24
Labels
Projects that are alternatives of or similar to Php Phar Compiler
Mix Phar Skeleton
Phar command line program development skeleton
Stars: ✭ 81 (+237.5%)
Mutual labels: phar
comphar
Pack all composer dependencies into a single phar file.
Stars: ✭ 67 (+179.17%)
Mutual labels: phar
pharext
Distribute your PHP extension as self-installing phar executable
Stars: ✭ 57 (+137.5%)
Mutual labels: phar
Php Scoper
🔨 Prefixes all PHP namespaces in a file/directory to isolate the code bundled in PHARs.
Stars: ✭ 409 (+1604.17%)
Mutual labels: phar
VirionTools
A handy plugin for developers who wish to compile and inject virions without using Poggit.
Stars: ✭ 17 (-29.17%)
Mutual labels: phar
Php Console
🖥 PHP CLI application library, provide console argument parse, console controller/command run, color style, user interactive, format information show and more. 功能全面的PHP命令行应用库。提供控制台参数解析, 命令运行,颜色风格输出, 用户信息交互, 特殊格式信息显示
Stars: ✭ 310 (+1191.67%)
Mutual labels: phar
ProfileUI
Get any player's profile on a Modal Form! MCPE v1.2! PMMP support only!
Stars: ✭ 20 (-16.67%)
Mutual labels: phar
Tooly Composer Script
Simple composer script to manage phar files using project composer.json.
Stars: ✭ 87 (+262.5%)
Mutual labels: phar
Phar Updater
A thing to make PHAR self-updates easy and secure
Stars: ✭ 362 (+1408.33%)
Mutual labels: phar
Rtorrent Cleaner
🧹 rtorrent-cleaner is a tool to clean up unnecessary files in rtorrent
Stars: ✭ 36 (+50%)
Mutual labels: phar
phar-stream-wrapper
Interceptors for PHP's native phar:// stream handling in order to enhance security.
Stars: ✭ 54 (+125%)
Mutual labels: phar
Phive
The Phar Installation and Verification Environment (PHIVE)
Stars: ✭ 400 (+1566.67%)
Mutual labels: phar
acquia cli
Provides a Robo console application to the Acquia CloudAPI for managing deployment tasks and environment configuration.
Stars: ✭ 30 (+25%)
Mutual labels: phar
PHP PHAR Compiler
This library provides a generic PHP PHAR compiler.
How to use?
$compiler = new Compiler(PROJECT_PATH);
$compiler->addIndexFile('bin/mycoolprogram.php');
$compiler->addDirectory('libraries');
$compiler->addFile('vendor/autoload.php');
$compiler->addDirectory('vendor/composer', '!*.php'); // Exclude non-PHP files
$compiler->addDirectory('vendor/.../Component/Console', ['Tests/*', '!*.php']);
$compiler->compile("$outputDir/mycoolprogram.phar");
Installation
Install via Composer
Install Composer if you don't already have it present on your system.
To install the library, run the following command and you will get the latest version:
$ php composer.phar require secondtruth/phar-compiler
Requirements
- You must have at least PHP version 5.6 installed on your system.
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].