PHPackages                             mfarahani/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. mfarahani/tcrawl

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

mfarahani/tcrawl
================

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

1.0.5(5y ago)23.0k1AGPL-3.0-onlyPHPPHP &gt;=7.1

Since Oct 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mohsen-farahani/TCrawler)[ Packagist](https://packagist.org/packages/mfarahani/tcrawl)[ RSS](/packages/mfarahani-tcrawl/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (6)Dependencies (2)Versions (8)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

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Recently: every ~62 days

Total

6

Last Release

2160d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.1.0

1.0.2PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/520b193f9cf197111a3368acefbcbdb948fdcbc2aa067163d040572c444557df?d=identicon)[mohsen-farahani](/maintainers/mohsen-farahani)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[backpack/basset

Dead-simple way to load CSS or JS assets only once per page, when using Laravel 10+.

202832.4k6](/packages/backpack-basset)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[nickurt/laravel-akismet

Akismet for Laravel 11.x/12.x/13.x

97139.6k2](/packages/nickurt-laravel-akismet)

PHPackages © 2026

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