PHPackages                             webuni/srazy-api-client - 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. webuni/srazy-api-client

AbandonedArchivedLibrary

webuni/srazy-api-client
=======================

The missing API for http://srazy.info

3244HTML

Since Apr 25Pushed 10y ago3 watchersCompare

[ Source](https://github.com/webuni/srazy-api-client)[ Packagist](https://packagist.org/packages/webuni/srazy-api-client)[ RSS](/packages/webuni-srazy-api-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Srazy.info API Client
=====================

[](#srazyinfo-api-client)

[![Latest Stable Version](https://camo.githubusercontent.com/4b460949f53c1a92ba39689d634b9889142e828a7ed05878139b54d6ae972974/68747470733a2f2f706f7365722e707567782e6f72672f776562756e692f7372617a792d6170692d636c69656e742f76657273696f6e)](https://packagist.org/packages/webuni/srazy-api-client)[![Build Status](https://camo.githubusercontent.com/5078f76d31a7f05901a423791d96ca75c3bba264ee546d176e938ddef351a552/68747470733a2f2f7472617669732d63692e6f72672f776562756e692f7372617a792d6170692d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/webuni/srazy-api-client)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/6530fefe5cb8835bfdff24e893bd6891801f604cd033fee6737fcf8451d882f1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f776562756e692f7372617a792d6170692d636c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/webuni/srazy-api-client/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/058de6bd3ecb17934aefb6148e58d4594b3b6bf9d778c74bd09aaf6518234645/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f31393666346539392d343763372d343830312d616236372d3730376432613835323235372f6d696e692e706e67)](https://insight.sensiolabs.com/projects/196f4e99-47c7-4801-ab67-707d2a852257)

Chybějící API pro

Instalace
---------

[](#instalace)

Knihovnu nainstalujeme přes Composer:

```
composer require webuni/srazy-api-client

```

Použití
-------

[](#použití)

Vytvoříme klienta

```
use Webuni\Srazy\Client;

$client = new Client();
```

Klient umí pracovat s uživateli, srazy a jednotlivými událostmi

```
$userApi = $client->user();
$seriesApi = $client->series();
$eventApi = $client->event();
```

Srazy vyhledáme pomocí

```
$series = $seriesApi->find('symfony')->first();
```

K jednotlivým vlastnostem srazu přistupujeme pomocí metod

```
$series->getName();
$series->getDescription();
$series->getFollowers();
$series->getEvents();
```

U každé události můžeme přistupovat

```
foreach ($series->getEvents() as $event) {
    $event->getName();
    $event->getDescription();
    $event->getStart();
    $event->getEnd();
    $event->gteLocation();
    $event->getSessions();
    $event->getComments();
}
```

Plán vývoje
-----------

[](#plán-vývoje)

- 1.0 - (duben 2016) kompletní API pro čtení veřejných informací
- 1.1 - podpora pro přihlášené uživatele a čtení informací viditelných pro přihlášené uživatele
- 2.0 - API pro úpravy

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/306adbad9084ed5c22aa85cbfce4899263466d76dff211b5c4c9f54dc23c40a1?d=identicon)[hason](/maintainers/hason)

---

Top Contributors

[![hason](https://avatars.githubusercontent.com/u/288535?v=4)](https://github.com/hason "hason (3 commits)")

### Embed Badge

![Health badge](/badges/webuni-srazy-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/webuni-srazy-api-client/health.svg)](https://phpackages.com/packages/webuni-srazy-api-client)
```

PHPackages © 2026

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