Download the PHP package scoutapp/scout-apm-php without Composer

On this page you can find all versions of the php package scoutapp/scout-apm-php. 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 scout-apm-php

Scout PHP APM Agent

Build Latest Stable Version Total Downloads License

Email us at [email protected] to get on the beta invite list!

Monitor the performance of PHP apps with Scout's PHP APM Agent.

Detailed performance metrics and transaction traces are collected once the agent is installed and configured.

Requirements

PHP Versions: 7.2+

Quick Start

This package is the base library for the various framework-specific packages.

Laravel, Lumen, Symfony support

To install the ScoutAPM Agent for a specific framework, use the specific package instead.

Using the base library directly

Default log level

By default, the library is very noisy in logging by design - this is to help us figure out what is going wrong if you need assistance. If you are confident everything is working, and you can see data in your Scout dashboard, then you can increase the minimum log level by adding the following configuration to set the "minimum" log level (which only applies to Scout's logging):

Monitoring of PHP internal functions

You can enable additional monitoring of internal PHP function executions to measure time taken there. To do so, you need to install and enable the scoutapm PHP extension from PECL, for example:

You may need to add zend_extension=scoutapm.so into your php.ini to enable the extension.

With the extension enabled, specific IO-bound functions in PHP are monitored, for example file_get_contents, file_put_contents, PDO->exec and so on.

Alternatively, you can install from source.

Enable caching for Scout

Due to PHP's stateless and "shared-nothing" architecture, the Scout library performs some checks (such as sending some metadata about the running system) on every request. These can be eliminated by giving Scout a PSR-16 (Simple Cache) implementation when creating the agent:

Using the PSR-15 Middleware provided

Since scoutapp/scout-apm-php release version 8.1.0, a PSR-15 compatible middleware is included out the box, which may be used in a PSR-15 middleware-compatible framework, such as Slim or Mezzio. For example, in Slim framework:

You will very likely need to define \Scoutapm\Middleware\ScoutApmMiddleware::class in your container. For example, if your container is Laminas ServiceManager, you could define a factory like:

Documentation

For full installation and troubleshooting documentation, visit our help site.

Support

Please contact us at [email protected] or create an issue in this repo.


All versions of scout-apm-php with dependencies

PHP Build Version
Package Version
Requires php Version 7.2.*|7.3.*|7.4.*|8.0.*|8.1.*|8.2.*|8.3.*
ext-json Version *
ext-openssl Version *
ext-sockets Version *
ext-zlib Version *
php-http/discovery Version ^1.14
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^1.0|^2.0
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
psr/log Version ^1.0|^2.0|^3.0
psr/simple-cache Version ^1.0|^2.0|^3.0
ralouphie/getallheaders Version ^2.0.5|^3.0
ramsey/uuid Version ^3.0|^4.2.2
webmozart/assert Version ^1.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 scoutapp/scout-apm-php contains the following files

Loading the files please wait ....