danog / MadelineProto

Async PHP client API for the telegram MTProto protocol
https://docs.madelineproto.xyz
GNU Affero General Public License v3.0
2.76k stars 619 forks source link

MadelineProto requires at least PHP 8.1. #1457

Closed firdavsDev closed 6 months ago

firdavsDev commented 6 months ago

My server not installed PHP 8.1 and I wanna using MadelineProto with PHP old version so how I can download it?


<?php

if (!file_exists('madeline.php')) {
    copy('https://phar.madelineproto.xyz/madeline6.php', 'madeline.php');
}
include 'madeline.php';

$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

//.....

?>
firdavsDev commented 6 months ago

https://phar.madelineproto.xyz/madeline6.php (madeline6.php ) ?

danog commented 6 months ago

No way. I will remove PHP 8.1 support this month, so please install PHP 8.3, as all PHP versions lower than PHP 8.2 are already deprecated.

firdavsDev commented 6 months ago

No way. I will remove PHP 8.1 support this month, so please install PHP 8.3, as all PHP versions lower than PHP 8.2 are already deprecated.

@danog Ok thanks bro