PHPackages                             mikeevstropov/vk-parser - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. mikeevstropov/vk-parser

AbandonedArchivedLibrary[Parsing &amp; Serialization](/categories/parsing)

mikeevstropov/vk-parser
=======================

The parser of the social network vk.com

1.0.2(9y ago)022Apache-2.0PHPPHP &gt;=5.5

Since Jun 21Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mikeevstropov/vk-parser)[ Packagist](https://packagist.org/packages/mikeevstropov/vk-parser)[ RSS](/packages/mikeevstropov-vk-parser/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (10)Versions (4)Used By (0)

mikeevstropov/vk-parser
=======================

[](#mikeevstropovvk-parser)

The parser of the social network [vk.com](https://vk.com/dev/manuals)

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

[](#installation)

Add dependency [mikeevstropov/vk-parser](https://packagist.org/packages/mikeevstropov/vk-parser)

```
$ composer require mikeevstropov/vk-parser
```

Usage
-----

[](#usage)

Sorry, but examples will not be provided for this library.

VideoParser Interface
---------------------

[](#videoparser-interface)

- **\_\_constructor**

    *VideoParser constructor*

    Arguments:

    - `client` *(GuzzleHttp\\ClientInterface)* - client instance required
    - `logger` *(null|Psr\\Log\\LoggerInterface)* - logger instance or null as default

    Returns:

    - `Mikeevstropov\VkParser\VideoParser`
- **getSourceList**

    *Getting the source list*

    Arguments:

    - `ownerId` *(string)* - ID of the video owner is required
    - `id` *(string)* - ID of the video is required
    - `userSession` *(null|GuzzleHttp\\Cookie\\CookieJar)* - user session or null as default

    Returns:

    - `array` - contain a keys "static", "embed" and "stream"
    - `false` - video does not exist, private (adult also) or blocked by law
    - `null` - source of the video is not supported

ExtendedVideoParser Interface
-----------------------------

[](#extendedvideoparser-interface)

- **\_\_constructor**

    *ExtendedVideoParser constructor*

    Arguments:

    - `client` *(GuzzleHttp\\ClientInterface)* - client instance required
    - `logger` *(null|Psr\\Log\\LoggerInterface)* - logger instance or null as default
    - `cache` *(null|Psr\\SimpleCache\\CacheInterface)* - cache instance or null as default

    Returns:

    - `Mikeevstropov\VkParser\ExtendedVideoParser`
- **getSourceList**

    *Getting the source list*

    Arguments:

    - `ownerId` *(string)* - ID of the video owner is required
    - `id` *(string)* - ID of the video is required
    - `userSession` *(null|GuzzleHttp\\Cookie\\CookieJar)* - user session or null as default
    - `cache` *(bool)* - use the cache, is true as default
    - `cacheTtl` *(null|int)* - number of seconds or null as default

    Returns:

    - `array` - contain a keys "static", "embed" and "stream"
    - `false` - video does not exist, private (adult also) or blocked by law
    - `null` - source of the video is not supported

Development
-----------

[](#development)

Clone

```
$ git clone https://github.com/mikeevstropov/vk-parser.git
```

Go to project

```
$ cd vk-parser
```

Install dependencies

```
$ composer install
```

Set permissions

```
$ sudo chmod 777 ./var -v -R
```

Configure testing environment in `phpunit.xml`. Make sure the environment variables "userLogin", "userPassword" and "applicationId" is not empty.

```

```

Increase composer timeout. Since composer by default set it to 300 seconds.

```
$ composer config --global process-timeout 900
```

Run the tests

```
$ composer test
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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 ~2 days

Total

3

Last Release

3291d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15070249?v=4)[mikeevstropov](/maintainers/mikeevstropov)[@mikeevstropov](https://github.com/mikeevstropov)

---

Top Contributors

[![mikeevstropov](https://avatars.githubusercontent.com/u/15070249?v=4)](https://github.com/mikeevstropov "mikeevstropov (12 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mikeevstropov-vk-parser/health.svg)

```
[![Health](https://phpackages.com/badges/mikeevstropov-vk-parser/health.svg)](https://phpackages.com/packages/mikeevstropov-vk-parser)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[symfony/symfony

The Symfony PHP framework

31.4k86.9M2.2k](/packages/symfony-symfony)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M715](/packages/sylius-sylius)[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k365.0M3.1k](/packages/symfony-cache)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[google/auth

Google Auth Library for PHP

1.4k286.7M205](/packages/google-auth)

PHPackages © 2026

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