Description
This framework takes advantage of the latest PHP 8 features, and tries to make the speed, scalability and flexibility of use its strength, it will allow you to quickly make simple bots, but at the same time, it provides more advanced features to handle even the most complicated flows. Some architectural concepts on which Nutgram is based are heavily influenced by other open source projects such as Botman and Zanzara, check them out too!
Nutgram alternatives and similar libraries
Based on the "API" category.
Alternatively, view nutgram alternatives based on common mentions on social networks and blogs.
-
Aimeos Laravel ecommerce package
Laravel ecommerce package for ultra fast online shops, scalable marketplaces, complex B2B applications and #gigacommerce -
Jane
:seedling: Jane is a set of libraries to generate Models & API Clients based on JSON Schema / OpenAPI specs -
Tomato Framework (Laravel)
TomatoPHP is built to make it easy to develop web apps and API by generating files of CRUD operations and support helpers of tonnes of functions to make it easy to manage and use framework services.
SaaSHub - Software Alternatives and Reviews
Do you think we are missing an alternative of Nutgram or a related project?
README
Nutgram
The Telegram bot framework that doesn't drive you nuts
This framework takes advantage of the latest PHP 8 features, and tries to make the speed, scalability and flexibility of use its strength, it will allow you to quickly make simple bots, but at the same time, it provides more advanced features to handle even the most complicated flows. Some architectural concepts on which Nutgram is based are heavily influenced by other open source projects such as Botman and Zanzara, check them out too!
<?php
use SergiX44\Nutgram\Nutgram;
$bot = new Nutgram($_ENV['TOKEN']);
$bot->onCommand('start', function(Nutgram $bot) {
$bot->sendMessage('Ciao!');
});
$bot->onText('My name is {name}', function(Nutgram $bot, string $name) {
$bot->sendMessage("Hi $name");
})
$bot->run();
Installation
You can install the package via composer:
composer require nutgram/nutgram
Usage
Testing
composer test
Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
Credits
- Sergio Brighenti
- Luca Patera
- [All Contributors](../../contributors)
License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
*Note that all licence references and agreements mentioned in the Nutgram README section above
are relevant to that project's source code only.