Download the PHP package xolegator/pinba_extension without Composer

On this page you can find all versions of the php package xolegator/pinba_extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package pinba_extension

Pinba Extension (Modernization Fork)

CI Lint codecov Release Packagist Copr PHP License: LGPL-2.1

Pinba Extension is the PHP client extension for the Pinba monitoring stack. It collects timing and request metrics inside PHP, serializes them with protobuf, and sends them over UDP to Pinba Engine.

This repository is an actively maintained fork of the original project:

Where This Project Fits

Short version:

Fork Goals

The purpose of this fork is to take over active development and make the extension usable on modern systems again.

Current development direction:

Installation

From the PPA (Ubuntu, recommended)

Prebuilt packages are published to the ppa:xolegator/packages Launchpad PPA. The package name is always php<X.Y>-pinba, matching the PHP version it is built for.

Distro-native PHP (no extra PHP repository)

For the PHP that ships in Ubuntu's own archive — no ondrej/php PPA required. Install the pinba package matching your release's default PHP:

Ubuntu 24.04 ships PHP 8.3 and Ubuntu 26.04 ships PHP 8.5 in their base archives, so the matching php<X.Y>-pinba installs on a clean system with no third-party PHP repository.

Additional PHP versions via ondrej/php

To install pinba for a PHP version that is not your release's default, first add the ppa:ondrej/php PPA (the wide PHP-version repository) so the matching php<X.Y> runtime is available:

Availability per Ubuntu release: 24.04 noble offers php8.2–php8.5 (8.3 from the base archive, the rest via ondrej/php); 26.04 resolute offers only php8.5 (its base PHP — ondrej/php has no resolute series).

The package installs the extension and enables it (phpenmod). Set the runtime options in a drop-in such as /etc/php/<version>/mods-available/pinba.ini (or a separate conf.d file), then reload the SAPI:

On Fedora and Enterprise Linux

There are two ways to get the extension, depending on whether you use your distribution's own PHP or a specific parallel-installable PHP version.

Distro-native PHP — Copr (php-pinba, no Remi)

For the PHP that ships in your distribution's own repositories, prebuilt packages are published to the xolegator/pinba Copr repository for Fedora and Enterprise Linux 9/10 (AlmaLinux, Rocky, RHEL, CentOS Stream) — Remi is not required:

This builds for the OS's default PHP (Fedora 43 → 8.4, Fedora 44 → 8.5, Enterprise Linux 9 → 8.0, Enterprise Linux 10 → 8.3) and ships its ini at /etc/php.d/40-pinba.ini. On AlmaLinux/RHEL 9 the default dnf install php is the non-modular PHP 8.0 — you don't need to enable any module stream. Although PHP 8.0 is past upstream end-of-life, Enterprise Linux backports security fixes to it for the life of the OS, so this fork supports it there too (minimum supported PHP is 8.0).

Specific / parallel PHP versions — Remi

For a specific PHP version, or to run several PHP versions side by side, use Remi's repository. Remi packages this fork for its module and Software Collection streams (PHP 8.2+), so those builds always track the current extension — status page. Enable Remi and install php-pinba from the module stream, or php<XY>-php-pinba from the matching Software Collection, e.g. dnf install php84-php-pinba. Follow the Remi configuration wizard for the exact commands for your OS and PHP version.

Runtime options

Set the runtime options in the ini file shipped by whichever package you installed:

From source

This requires the matching php<version>-dev and libprotobuf-c-dev packages. See docs/build.md for the full local build and test flow.

Docker and other distributions

Outside Debian/Ubuntu the extension is built from source against the system protobuf-c runtime. Install the build toolchain and the protobuf-c development headers for your platform:

Docker (official PHP images) — build and enable the extension in your image:

$PHPIZE_DEPS and $PHP_INI_DIR are provided by the official php images. For a slimmer image you may apt-get purge $PHPIZE_DEPS afterwards, but keep the runtime libprotobuf-c1.

PIE (PHP Installer for Extensions) — this repository ships PIE metadata (composer.json with "type": "php-ext") and is published to Packagist, so the extension can be installed cross-platform with:

PIE still compiles from source, so it needs the same build toolchain and libprotobuf-c headers as a manual source build.

Development Baseline

The active CI matrix builds the extension and runs the PHPT suite on PHP 8.2, 8.3, 8.4, and 8.5, and enforces workflow, shell, and markdown linting plus clang-format and clang-tidy in GitHub Actions. The PHP matrix source of truth is .github/php-versions.json, and scheduled discovery automation refreshes it through PRs. Build-from-source steps are covered under docs/build.md.

Documentation

Release Process

This fork uses a semi-automated GitHub release flow:

Historical upstream notes remain in docs/legacy-news.md and docs/legacy-upstream-news.md; all new fork release history belongs in CHANGELOG.md.

License

This fork inherits the original project license and remains available under the GNU Lesser General Public License v2.1 or later.

Copyright:

Provenance and third-party dependency notices are documented in NOTICE, and project authorship in AUTHORS.


All versions of pinba_extension with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package xolegator/pinba_extension contains the following files

Loading the files please wait ...