Download the PHP
package open-telemetry/opentelemetry-php-contrib without Composer
On this page you can find all versions of the php package
open-telemetry/opentelemetry-php-contrib. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor open-telemetry Package opentelemetry-php-contrib Short Description The contributor repo for opentelemetry-php License
Apache-2.0
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 opentelemetry-php-contrib
Each project's CI status on main. See .github/ci/README.md.
Project
CI
AutoInstrumentationInstaller
Aws
Context/Revolt
Context/Swoole
Exporter/Instana
Instrumentation/AwsSdk
Instrumentation/CakePHP
Instrumentation/CodeIgniter
Instrumentation/Curl
Instrumentation/Doctrine
Instrumentation/ExtAmqp
Instrumentation/ExtRdKafka
Instrumentation/Guzzle
Instrumentation/HttpAsyncClient
Instrumentation/HttpConfig
Instrumentation/IO
Instrumentation/Laravel
Instrumentation/Magento2
Instrumentation/MongoDB
Instrumentation/MySqli
Instrumentation/OpenAIPHP
Instrumentation/PDO
Instrumentation/Phalcon
Instrumentation/PostgreSql
Instrumentation/Psr14
Instrumentation/Psr15
Instrumentation/Psr16
Instrumentation/Psr18
Instrumentation/Psr3
Instrumentation/Psr6
Instrumentation/ReactPHP
Instrumentation/Session
Instrumentation/Slim
Instrumentation/Symfony
Instrumentation/Wordpress
Instrumentation/Yii
Logs/Monolog
MetaPackages/opentelemetry
Metrics/Runtime
Propagation/CloudTrace
Propagation/Instana
Propagation/ServerTiming
Propagation/TraceResponse
ResourceDetectors/Azure
ResourceDetectors/Container
ResourceDetectors/DigitalOcean
Sampler/RuleBased
Sampler/Xray
Shims/OpenTracing
SqlCommenter
Symfony
Utils/Test
Issues
Issues have been disabled for this repo in order to help maintain consistency between this repo and the main opentelemetry-php repo. If you have an issue you'd like to raise about this issue, please use the OpenTelemetry PHP Issue section. Please prefix the title of the issue with [opentelemetry-php-contrib].
Installation
Install individual packages:
(This is the recommended way to install the components)
Refer to the documentation for the individual components on how to install them
AWS
Symfony SdkBundle
Usage/Examples
Auto-instrumentation
Auto-instrumentation requires the ext-opentelemetry PHP extension, and
the installation of one or more packages from src/Instrumentation
AWS
You can find examples on how to use the AWS classes in the examples directory.
Symfony
SdkBundle
The documentation for the Symfony SdkBundle can be found here.
An example Symfony application using the SdkBundle can be found here.
Swoole
The documentation for the Swoole context can be found here.
Yii
The documentation for Yii framework can be found here.
This repository is organized into multiple separate sub-projects, under /src.
Please remember to run all tests as you develop, the makefile supports a PROJECTS variable, which corresponds to the path of the project (relative to src/), eg
make projects lists the projects. See .github/ci/README.md
for how CI tests them, and how to run the same checks locally.
Requiresphp Version
^7.4 || ^8.0 ext-json Version
*
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 open-telemetry/opentelemetry-php-contrib contains the following files
Loading the files please wait ...
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.