# Nutgram 5.0

A new major version of Nutgram, the Telegram bot framework for PHP, where every command needs a description and commands support scopes.

Pattern parameters now support backed enums. Server-side conversations can infer the chat\_id with $this-\>chatId(). Nutgram adds ClockInterface support, and a Trigger interface that controls when a withProgress callback runs. The code now declares strict types and passes Psalm at level 4.

- Made by: [Luca Patera](https://github.com/Lukasss93)
- Shipped: 01/12/2026
- Date from: [release](https://github.com/nutgram/nutgram/releases/tag/5.0.0)
- Source: [github.com/nutgram/nutgram](https://github.com/nutgram/nutgram)
- Docs: [nutgram.dev](https://nutgram.dev)
- Install: `composer require nutgram/nutgram`
- Licence: MIT
- Stack: plain PHP
- Checked: 06/12/2026
- Added: 06/12/2026

## Badge

Listed here? Add this badge to your README:

```markdown
[![Featured on phplives.dev](https://phplives.dev/badge.svg)](https://phplives.dev/entries/nutgram-5-0/)
```

See more at [phplives.dev](https://phplives.dev)
