telepath / laravel
Laravel integration of Telepath
Requires
- php: ^8.2
- illuminate/support: ^9.0 | ^10.0 | ^11.0
- symfony/cache: ^6.2
- telepath/telepath: ^0.29
Requires (Dev)
- laravel/framework: ^9.0 | ^10.0 | ^11.0
This package is auto-updated.
Last update: 2024-12-19 15:48:32 UTC
README
Telepath for Laravel
Laravel integration for Telepath
Explore the docs ยป
Report Bug
Table of Contents
About The Project
Telepath is a modern framework-agnostic libraray to create Telegram Bots in PHP.
This package integrates a Telepath based bot into your Laravel application being able to receive and respond to Telegram messages your bot receives.
Getting Started
This package can be installed via composer:
composer require telepath/laravel
The package will automatically install the required dependencies to use Telepath in your Laravel application.
Usage
You can get the Bot instance via the Telepath facade.
$bot = \Telepath::bot();
or by using autowiring to request an instance.
public function __construct( protected Telepath\Bot $bot ) {}
For a more detailled look including how to integrate Telepath into your Laravel application please also have a look into our Documentation
Known Limitations
Please note that this package currently has the following limitations:
- Handling multiple bots in the same Laravel application is not supported yet.
- Support for Lumen or other Laravel subset frameworks is not officially supported.
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE.md
for more information.
Contact
Tii - @TiiFuchs - mail@tii.one
Project Link: https://github.com/telepath-php/laravel