PHPackages                             polakosz/porthu - 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. [API Development](/categories/api)
4. /
5. polakosz/porthu

ActiveLibrary[API Development](/categories/api)

polakosz/porthu
===============

Library to search for movies and to get informations for a specific movie from https://port.hu/

v3.0.0(7y ago)7513MITPHPPHP &gt;=7.1CI failing

Since Aug 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/PoLaKoSz/Port.hu)[ Packagist](https://packagist.org/packages/polakosz/porthu)[ Docs](https://github.com/PoLaKoSz/Port.hu)[ RSS](/packages/polakosz-porthu/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (8)Dependencies (3)Versions (9)Used By (0)

Port.hu
=======

[](#porthu)

[![Build Status](https://camo.githubusercontent.com/ed157fb81e09fa2cbbb5c574cfff60337ec1d2d7a1c89d74b96a9c2fa97e328f/68747470733a2f2f7472617669732d63692e636f6d2f506f4c614b6f537a2f506f72742e68752e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/PoLaKoSz/Port.hu)[![Latest Stable Version](https://camo.githubusercontent.com/27fc3b6fa7b2fb0fd90f5bcd7199216c23ae59e847310ca195453a094e4a56ac/68747470733a2f2f706f7365722e707567782e6f72672f706f6c616b6f737a2f706f727468752f762f737461626c65)](https://packagist.org/packages/polakosz/porthu)[![Total Downloads](https://camo.githubusercontent.com/1f1e384c60e5fb3a3fb92e0a2cea613a6091ae025dae73d0cb0f66a0d53eb251/68747470733a2f2f706f7365722e707567782e6f72672f706f6c616b6f737a2f706f727468752f646f776e6c6f616473)](https://packagist.org/packages/polakosz/porthu)[![License](https://camo.githubusercontent.com/3c30bf62e89a1aa00acf4d58af8afd7454934a5bc1a75e7a5d5147e6ad9186f6/68747470733a2f2f706f7365722e707567782e6f72672f706f6c616b6f737a2f706f727468752f6c6963656e7365)](https://packagist.org/packages/polakosz/porthu)

[Port.hu](https://port.hu/) is one of the biggest hungarian movie database. This PHP library helps to search for movies and to get informations for a specific movie.

Install
-------

[](#install)

Via Composer

`$ composer require polakosz/porthu`

Usage
-----

[](#usage)

```
use PoLaKoSz\PortHu\MoviePage;
...
$port = new MoviePage();

// returns a PoLaKoSz\PortHu\Models\PortMovie object
$movie = $port->get( 104833 );

var_dump( $movie );
```

```
use PoLaKoSz\PortHu\QuickSearch;
...
$search = new QuickSearch();

// returns an Array of PoLaKoSz\PortHu\Models\QuickSearchResult object
$movies = $search->get( 'Viskó' );

var_dump( $movies );
```

Tests
-----

[](#tests)

- `$ composer run-all-tests`: runs both integration and regression tests
- `$ composer run-i-tests`: runs only the integration tests (saved webpage parsing)
- `$ composer run-r-tests`: runs only the regression tests (to detect HTML DOM changes in the endpoints - downloads webpage(s) from Port.hu and after try to parse them)
- `$ composer run-u-tests`: runs only the unit tests

Code formatting
---------------

[](#code-formatting)

Please use the `$ composer run-tidy` command before every commit to make sure the source code formatted properly.

###  Health Score

30

—

LowBetter than 61% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~47 days

Total

8

Last Release

2575d ago

Major Versions

v1.2.1 → v2.0.02019-01-06

v2.0.0 → v3.0.0-alpha2019-01-08

PHP version history (2 changes)v1.0.0PHP &gt;=5.3.0

v3.0.0-alpha.2PHP &gt;=7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1327533?v=4)[Tom PoLáKoSz](/maintainers/PoL%C3%A1KoSz)[@PoLaKoSz](https://github.com/PoLaKoSz)

---

Top Contributors

[![PoLaKoSz](https://avatars.githubusercontent.com/u/1327533?v=4)](https://github.com/PoLaKoSz "PoLaKoSz (42 commits)")

---

Tags

apimoviemoviesparsephpportscraperwrapperapiwrapperportPoLáKoSzPort.hu

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/polakosz-porthu/health.svg)

```
[![Health](https://phpackages.com/badges/polakosz-porthu/health.svg)](https://phpackages.com/packages/polakosz-porthu)
```

###  Alternatives

[gabrielbull/ups-api

PHP UPS API

4562.5M11](/packages/gabrielbull-ups-api)[php-tmdb/laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the wtfzdotnet/php-tmdb-api library.

16553.3k1](/packages/php-tmdb-laravel)[php-tmdb/symfony

Symfony Bundle for TMDB (The Movie Database) API. Provides easy access to the php-tmdb/api library.

3649.8k](/packages/php-tmdb-symfony)[lasserafn/laravel-economic

Economic REST wrapper for Laravel

1120.2k](/packages/lasserafn-laravel-economic)

PHPackages © 2026

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