Download the PHP package palzin-apm/palzin-slim without Composer

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

Real-Time monitoring package using Palzin Monitor

Latest Stable Version Total Downloads License

Palzin Monitor offers a comprehensive real-time monitoring platform that allows you to monitor and analyze the performance of your applications. With Palzin Monitor Slim Package, you can effortlessly capture and track all requests without making any code modifications. This feature provides valuable insights into the impact of your methods, database statements, and external requests on the overall user experience.

This package is specifically designed for applications built on the Slim framework.

Requirements

Installation

To install the latest version, use the following composer command:

Register On Container

You need to register the Palzin Monitor (APM) instance inside the application container to make the monitoring agent available within your application. Here's an example of how to register the Palzin Monitor instance:

Consider using environment variables to store your project's INGESTION KEY. If you are using a Slim 4 skeleton, you can add a new container definition in the app/dependencies.php file.

You can obtain the PALZIN_APM_INGESTION_KEY and PALZIN_APM_URL by creating a new project in your Palzin account.

Middleware

To attach the middleware, you can either attach it globally or to specific routes. Here are examples of both:

Attach globally:

Attach to specific routes:

Test

To verify that everything is working correctly, create a test route and open it in the browser http://localhost:8080. Here's an example of a test route:

Add Segment

You can add segments to the

transaction's timeline from route functions. Here's an example of how to add a segment:

If your routes are organized using controllers, you need to inject the container into the controller constructor. Here's an example:

Official Documentation

For more detailed information, please refer to the official documentation.

License

This package is licensed under the MIT license.


All versions of palzin-slim with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
palzin-apm/palzin-php Version ^23.03.08
psr/http-server-middleware Version ^1.0
psr/container 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 palzin-apm/palzin-slim contains the following files

Loading the files please wait ....