This website contains the MadelineProto easy installer.
if (!file_exists('madeline.php')) {
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
}
include 'madeline.php';
That’s it.
See docs.madelineproto.xyz for more information about MadelineProto.