PHPackages                             shariaty/telegram-crawler - 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. shariaty/telegram-crawler

ActiveLibrary[API Development](/categories/api)

shariaty/telegram-crawler
=========================

A package to get data from telegram channels

38PHP

Since Feb 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Shariaty/telegram-crawler)[ Packagist](https://packagist.org/packages/shariaty/telegram-crawler)[ RSS](/packages/shariaty-telegram-crawler/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Telegram Crawler
================

[](#telegram-crawler)

A Package built for Laravel to extract data from public telegram channels
-------------------------------------------------------------------------

[](#a-package-built-for-laravel-to-extract-data-from-public-telegram-channels)

Features
--------

[](#features)

- Extract channel name
- Extract channel description
- Extract channel image
- Extract channel members count
- Extract channel links count
- Extract channel videos count
- Extract channel images count
- Extract channel messages as object
- Extract channel specific message by Identifier
- Extract channel message date
- Extract channel message views

Requirements
------------

[](#requirements)

TechnologyVersionPHP&gt; 7.3Laravel&gt; 8Installation
------------

[](#installation)

You can install the package via composer:

```
composer require shariaty/telegram-crawler
```

Publish the config file (see config/telegram.php), you could publish the config file:

```
php artisan vendor:publish --provider="Shariaty\TelegramCrawler\TelegramCrawlerServiceProvider"
```

> Note: This package requires composer Version 2 to be installed.

Enjoy!

Usage
-----

[](#usage)

Import The facade

```
use Shariaty\TelegramCrawler\Facades\TelegramCrawler;
```

Create an instance using Facade with the name of the channel.

```
$channel = TelegramCrawler::load("name_of_the_channel");
```

Use any of below methods to retrive data.

```
$channel->getName();
$channel->getDescription();
$channel->getImage();
$channel->getMembersCount();
$channel->getLinksCount();
$channel->getVideoCount();
$channel->getPhotoCount();
$channel->getMessages();
$channel->getMessages(100);
$channel->getMessages()->first()->date;
$channel->getMessages()->first()->views;
$channel->getMessages()->first()->text;
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

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/c8e9246d20501d922d5624884a93a38b636bd699e40fd39ce506f12add96f399?d=identicon)[ala.sharyaty](/maintainers/ala.sharyaty)

---

Top Contributors

[![Shariaty](https://avatars.githubusercontent.com/u/21170564?v=4)](https://github.com/Shariaty "Shariaty (1 commits)")

### Embed Badge

![Health badge](/badges/shariaty-telegram-crawler/health.svg)

```
[![Health](https://phpackages.com/badges/shariaty-telegram-crawler/health.svg)](https://phpackages.com/packages/shariaty-telegram-crawler)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M453](/packages/google-gax)

PHPackages © 2026

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