PHPackages                             wersas1/tcrawl - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wersas1/tcrawl

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wersas1/tcrawl
==============

scrapping all data and information public channels telegram &amp; create object from scrapping with template

016PHP

Since Jun 27Pushed 3y agoCompare

[ Source](https://github.com/wersas1/TCrawler)[ Packagist](https://packagist.org/packages/wersas1/tcrawl)[ RSS](/packages/wersas1-tcrawl/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Telegram Scrapping

[](#telegram-scrapping)

[![Software License](https://camo.githubusercontent.com/e1514dd3f2095dbf68a0008ae62a631142953ad2e86aa94c504343f2c2c191da/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d47504c2d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

[![Packagist Version](https://camo.githubusercontent.com/ecead9d18557117fc550fdcf4f84971e73ddfe6018bb8096900e85e53749093d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6661726168616e692f74637261776c2e7376673f7374796c653d666c61742d737175617265)](https://img.shields.io/packagist/v/mfarahani/tcrawl)

requirements
------------

[](#requirements)

- PHP v7.2 or above
- Laravel v5.5 or above

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

[](#installation)

```
composer require mfarahani/tcrawl

```

Documentation
-------------

[](#documentation)

### Baseic

[](#baseic)

find information and last message from public channel telegram

```
$tCrawl = new TCrawler();
$tCrawl->setProxy("http://username:password@host:port");
$tCrawl->setChannel("channelname telegram");
$info           = $tCrawl->crawler()->getInfo();

$formWithTemplate = false; //you can use 'true' or 'false' for generate template

$lastMessgae    = $tCrawl->crawler()->getLastMessage($formWithTemplate);
$latestMessages = $tCrawl->crawler()->getLatestMessages($formWithTemplate, $fromId);

dump($info , $lastMessgae , $latestMessages );

```

### Create Template output

[](#create-template-output)

you can set template and generate message with your template

- Specify your template by inserting it between the \[\[\*\*\*\]\]

example template :

```
$template = "phone number is : [[phone]] , name : [[name]]"

```

```
$tCrawl = new TCrawler();
$tCrawl->setProxy("http://username:password@host:port");
$tCrawl->setChannel("channelname telegram");

$info           = $tCrawl->crawler()->getInfo();

$tCrawl->templateBuilder()->createTemplate($info, $template);
$tCrawl->templateBuilder()->updateTemplate("channelname telegram", $template , $status);
$tCrawl->templateBuilder()->getTemplate("channelname telegram");

$tCrawl->templateBuilder()->build($username, $message);

```

Contributing
------------

[](#contributing)

Thank you for considering contributing to the TC Package!

License
-------

[](#license)

The Laravel framework is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 53.8% 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/89b8bb261b729a76745927bf1e6efb4d994c4ca63e3bcf7f7611a57b2f0c7a12?d=identicon)[wersas1](/maintainers/wersas1)

---

Top Contributors

[![mohsen-farahani](https://avatars.githubusercontent.com/u/2861717?v=4)](https://github.com/mohsen-farahani "mohsen-farahani (14 commits)")[![wersas1](https://avatars.githubusercontent.com/u/45006777?v=4)](https://github.com/wersas1 "wersas1 (12 commits)")

### Embed Badge

![Health badge](/badges/wersas1-tcrawl/health.svg)

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

###  Alternatives

[kleiram/transmission-php

PHP Transmission client

18517.2k1](/packages/kleiram-transmission-php)[odiseoteam/sylius-vendor-plugin

Vendor plugin for Sylius. Add Vendor (Brand) to your products

6068.4k1](/packages/odiseoteam-sylius-vendor-plugin)[sylius/shipping

Flexible shipping component for PHP e-commerce projects.

13225.7k12](/packages/sylius-shipping)

PHPackages © 2026

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