Download the PHP package logdash/php-sdk without Composer

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

Logdash PHP SDK

Packagist Version License: MIT PHP Version Tests

Official PHP SDK for Logdash.io - Zero-configuration observability platform designed for developers working on side projects and prototypes.

Why Logdash?

Most observability solutions feel overwhelming for small projects and prototypes. Logdash provides instant logging and real-time metrics without complex configurations. Just add the SDK and start monitoring your application immediately.

Key Features

Pre-requisites

Setup your free project in less than 2 minutes at logdash.io

Installation

Composer

Quick Start

Basic Logging (Local Only)

Cloud Logging & Metrics

Framework Integration

Laravel

Symfony

API Reference

Logdash

Logdash::create(array $params = []): Logdash

Creates a new Logdash instance.

Parameters:

Logger

The logger provides methods for different log levels:

Metrics

set(string $name, float $value): void

Set a metric to a specific value.

mutate(string $name, float $value): void

Change a metric by the specified amount (can be positive or negative).

Log Levels

The SDK supports the following log levels (in order of severity):

  1. ERROR: Error conditions
  2. WARN: Warning conditions
  3. INFO: Informational messages
  4. HTTP: HTTP request/response logs
  5. VERBOSE: Verbose informational messages
  6. DEBUG: Debug-level messages
  7. SILLY: Very detailed debug information

Configuration

Environment Variables

You can use environment variables for configuration:

Error Handling

The SDK is designed to be non-blocking and fail silently in production. If there are issues with the API connection:

Requirements

Development

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support


All versions of php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
guzzlehttp/guzzle Version ^7.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 logdash/php-sdk contains the following files

Loading the files please wait ....