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. mikeevstropov/vk-parser

AbandonedArchivedLibrary

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

The parser of the social network vk.com

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

Since Jun 21Pushed 8y 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 1mo 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 43% 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

3239d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/663c40693f4b062a759dc8576db8fee0c0fa09febbdf3e0fdfeb8876c10be376?d=identicon)[mikeevstropov](/maintainers/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

[sylius/sylius

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

8.4k5.6M647](/packages/sylius-sylius)[google/auth

Google Auth Library for PHP

1.4k272.7M161](/packages/google-auth)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

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

1.3k1.3M151](/packages/sulu-sulu)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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