PHPackages                             darkside666/ds-tools - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. darkside666/ds-tools

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

darkside666/ds-tools
====================

013PHP

Since Aug 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/DarkSide666/ds-tools)[ Packagist](https://packagist.org/packages/darkside666/ds-tools)[ RSS](/packages/darkside666-ds-tools/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

ds-tools
========

[](#ds-tools)

This repository contains various useful tools. Some of them rely on one another, but others are fully standalone.

Installation
------------

[](#installation)

```
composer require darkside666/ds-tools

```

Logger
------

[](#logger)

### Usage

[](#usage)

```
// Create Logger instance
$logger = new dsTools\Logger();

// Multiple levels of logging - success, debug, info, notice, warning, error, critical, alert, emergency
$logger->notice('Download process started');

// Can use emergency() to stop program execution
try {
    // ... something ...
} catch (\Exception $e) {
    $logger->emergency($e->getMessage());
}

```

CKAN Downloader
---------------

[](#ckan-downloader)

### Usage

[](#usage-1)

```
// Create Downloader instance
$downloader = new dsTools\CKAN\Downloader([
    // CKAN API URL and key. For example, https://data.gov.lv/dati/api/3/
    'api_url' => API_URL,
    'api_key' => API_KEY,

    // Folder where resources (files) will be downloaded
    'download_folder' => TMP_FOLDER,

    // Folder where files will be unzipped
    'unzip_folder' => DATA_FOLDER,
]);

// This is how to download all resources (files) of particular CKAN package
$downloader->download('kadastra-informacijas-sistemas-atverti-telpiskie-dati');

// This is how to download particular resource (file) and unzip it
$files = $downloader->download('valsts-adresu-registra-informacijas-sistemas-atvertie-dati', 'aw_shp.zip', true);

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/be7dd4bb1201b3062575ffee26fb8d90e1bd94cfde8f252ce1cd8f5ab1917f5c?d=identicon)[DarkSide666](/maintainers/DarkSide666)

---

Top Contributors

[![DarkSide666](https://avatars.githubusercontent.com/u/1969119?v=4)](https://github.com/DarkSide666 "DarkSide666 (16 commits)")

### Embed Badge

![Health badge](/badges/darkside666-ds-tools/health.svg)

```
[![Health](https://phpackages.com/badges/darkside666-ds-tools/health.svg)](https://phpackages.com/packages/darkside666-ds-tools)
```

###  Alternatives

[twbs/bootstrap-icons

Official open source SVG icon library for Bootstrap

8.0k2.2M83](/packages/twbs-bootstrap-icons)[gazugafan/laravel-temporal

Temporal models and versioning for Laravel 5

3310.1k](/packages/gazugafan-laravel-temporal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
