All Projects β†’ pharext β†’ pharext

pharext / pharext

Licence: BSD-2-Clause license
Distribute your PHP extension as self-installing phar executable

Programming Languages

PHP
23972 projects - #3 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to pharext

Ext Ds
An extension providing efficient data structures for PHP 7
Stars: ✭ 2,010 (+3426.32%)
Mutual labels:  extension, pecl
Php Ext Xlswriter
πŸš€ PHP Extension for creating and reader XLSX files.
Stars: ✭ 1,734 (+2942.11%)
Mutual labels:  extension, pecl
SwiftMan
Swift extensions and utils classes
Stars: ✭ 31 (-45.61%)
Mutual labels:  extension
1click-webpage-screenshot
Entire page Screenshot extension for Google Chrome. I'm developing open source extension for Google Chrome. All extension are free for use. Let's make Chrome great again!
Stars: ✭ 432 (+657.89%)
Mutual labels:  extension
comphar
Pack all composer dependencies into a single phar file.
Stars: ✭ 67 (+17.54%)
Mutual labels:  phar
sqlite-spellfix
Loadable spellfix1 extension for sqlite as python package
Stars: ✭ 13 (-77.19%)
Mutual labels:  extension
solidus static content
πŸ“„ Content management for your Solidus store.
Stars: ✭ 18 (-68.42%)
Mutual labels:  extension
VirionTools
A handy plugin for developers who wish to compile and inject virions without using Poggit.
Stars: ✭ 17 (-70.18%)
Mutual labels:  phar
siddhi-io-kafka
Extension that can be used to receive events from a Kafka cluster and to publish events to a Kafka cluster
Stars: ✭ 16 (-71.93%)
Mutual labels:  extension
kanboard chrome extension
Kanboard Chrome Extension
Stars: ✭ 13 (-77.19%)
Mutual labels:  extension
vscode-ascii-tree-generator
Generate ASCII tree of directories or format selected text into its corresponding "tree string" representation.
Stars: ✭ 35 (-38.6%)
Mutual labels:  extension
hypergravity
Gravity simulation in Hyper terminal
Stars: ✭ 22 (-61.4%)
Mutual labels:  extension
block-site
Chrome extension that blocks access to distracting websites to improve your productivity.
Stars: ✭ 81 (+42.11%)
Mutual labels:  extension
sqlops-widgets
SQL Operations Studio Dashboard Widgets - including Always ON
Stars: ✭ 22 (-61.4%)
Mutual labels:  extension
FOF3-Basic
A hello world type example for Akeeba F0F3 as a walkthrough for building a Joomla! component from the ground up.
Stars: ✭ 14 (-75.44%)
Mutual labels:  extension
phar-stream-wrapper
Interceptors for PHP's native phar:// stream handling in order to enhance security.
Stars: ✭ 54 (-5.26%)
Mutual labels:  phar
Line-Clipper
πŸ’»Efficient navigation between browser and IDE while working on GitHub.
Stars: ✭ 64 (+12.28%)
Mutual labels:  extension
Flask-GraphQL-Auth
(UNMAINTAINED. FEEL FREE TO FORK) 🐍A Pythonic way to provide JWT authentication for Flask-GraphQL
Stars: ✭ 64 (+12.28%)
Mutual labels:  extension
clever-vscode
Clever help to put vscode to the next level
Stars: ✭ 17 (-70.18%)
Mutual labels:  extension
prependers
Easily and cleanly extend third-party code.
Stars: ✭ 24 (-57.89%)
Mutual labels:  extension

pharext

Join the chat at https://gitter.im/pharext/pharext

Distribute your PHP extension as self-installable phar executable. See https://pharext.org

About

You don't need this package to install any *.ext.phar extension packages, just run them with php:

$ ./pecl_http-2.4.2.ext.phar

For a compressed phar, or if the execute permission bit got lost somehow:

$ php pecl_http-2.4.2.ext.phar.gz

Command help:

$ ./pecl_http-2.4.2.ext.phar -h

Yields:

pharext v3.0.0 (c) Michael Wallner <[email protected]>

Usage:

$ ./pecl_http-2.4.2.ext.phar [-hvqs] [-p|-n|-c|-i <arg>]

  -h|--help                                  Display help
  -v|--verbose                               More output
  -q|--quiet                                 Less output
  -p|--prefix <arg>                          PHP installation prefix if phpize is not in $PATH, e.g. /opt/php7
  -n|--common-name <arg>                     PHP common program name, e.g. php5 or zts-php [php]
  -c|--configure <arg>                       Additional extension configure flags, e.g. -c --with-flag
  -s|--sudo [<arg>]                          Installation might need increased privileges [sudo -S %s]
  -i|--ini <arg>                             Activate in this php.ini instead of loaded default php.ini
  --signature                                Show package signature
  --license                                  Show package license
  --name                                     Show package name
  --date                                     Show package release date
  --release                                  Show package release version
  --version                                  Show pharext version
  --enable-propro [<arg>]                    Whether to enable property proxy support [yes]
  --enable-raphf [<arg>]                     Whether to enable raphf support [yes]
  --with-http-zlib-dir [<arg>]               Where to find zlib [/usr]
  --with-http-libcurl-dir [<arg>]            Where to find libcurl [/usr]
  --with-http-libevent-dir [<arg>]           Where to find libevent [/usr]

If your installation destination needs escalated permissions, have a look at the --sudo option:

Installing propro-1.0.1.ext.phar ...
Running phpize ...
Running configure ...
Running make ...
Running make install ...
Running INI activation ...
Extension already activated ...
Successfully installed propro-1.0.1.ext.phar!
Installing raphf-1.0.5.ext.phar ...
Running phpize ...
Running configure ...
Running make ...
Running make install ...
Running INI activation ...
Extension already activated ...
Successfully installed raphf-1.0.5.ext.phar!
Installing pecl_http-2.4.2.ext.phar ...
Running phpize ...
Running configure ...
Running make ...
Running make install ...
Running INI activation ...
Extension already activated ...
Successfully installed pecl_http-2.4.2.ext.phar!

Prerequisites

The usual tools you need to build a PHP extension:

  • php, phpize and php-config
  • make, cc and autotools

A network connection is not needed.

Extension maintainers

Download the pharext binary of the latest release.

Be aware that you need the public key to run official pharext releases.

-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5x9bwisjDBDV/bwDiju2
Ebx4kPir32WwT3+hxV0/qAPclA1WsrpcUJ7BChk+Rlz8ujOcyENTidgI1vj3oUpo
/P9XlLQOSrJHYz+AOg7qwhTe89xIJspS4gHHiXUAmxz0TyCNMbOyrLcjP5CmZdll
n+e3HP8Kfipr4XyWBhsKbdYUZ8Ga6IeFMYzNqCzWazcOasdCpsablmyrfCaZoJ0l
bFald0nF3/YoeYgo3fWb4Md9Xf/grpz8Ocqyq4OY49Vb0/p8FMwzBV6vbVh/eAV/
jrP7L40Jw97nSBrP/5nK8Ylc5BayVRq/HhT3kLMC//zvPjb8xz3ZgVTQrwWTF3Zy
+wIDAQAB
-----END PUBLIC KEY-----

Place it as pharext.pubkey in the same directory where the pharext binary is located. IF you cloned the repository or installed pharext through composer, it is already at the right location.

Please have a look at the wiki, to learn how to use the pharext installer to package self-installing PHP extensions.

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].