- How do I install laraxgram/core in a Laravel application?
- Install it with Composer by running composer require laraxgram/core in your Laravel project. Check the repository README for any service provider registration, configuration publishing, or environment variables required after installation.
- Which Laravel and PHP versions does laraxgram/core support?
- The provided context does not specify exact Laravel or PHP version constraints, so check the package composer.json and release notes before installing. Confirm that your application's PHP and Laravel versions satisfy those constraints, especially before upgrading to v4.5.0.
- Is laraxgram/core a complete Telegram bot framework or just the core classes?
- Laraxgram Core is the core package of LaraGram, the Laravel framework for building Telegram bots. It provides essential classes and abstractions for updates, commands, and bot interactions rather than necessarily being the entire framework on its own.
- How do I handle Telegram updates and commands with laraxgram/core?
- Laraxgram Core supplies foundational abstractions for handling Telegram updates, commands, and bot interactions within Laravel. You wire those abstractions into your application's service providers, routes, jobs, or handlers, then follow the package documentation for command registration and update dispatch.
- How should I test a Laraxgram bot built with laraxgram/core?
- Test bot request handling, command dispatch, and file-upload paths explicitly, especially because v4.5.0 includes a FileBag fix. Use Laravel's testing tools to simulate updates and assert responses, and run your full suite after any Composer update.
- What are LaraGram AI-SDK and Citadel in laraxgram/core v4.5.0?
- Laraxgram Core v4.5.0 adds first-party AI-SDK and Citadel support, but the available context does not define exactly what those components do or whether they are optional. Treat them as optional capabilities until the package documentation clarifies their runtime dependencies and credential requirements.
- Does laraxgram/core require AWS SDK, ext-yaml, or other new dependencies?
- The v4.5.0 release adds first-party AWS and YAML components, which may introduce AWS SDK or YAML parser dependencies. Check composer.json for conflicts with aws/aws-sdk-php and symfony/yaml, and confirm whether ext-yaml or a pure-PHP parser is required.
- How do I upgrade laraxgram/core from v4.4.0 to v4.5.0 safely?
- Upgrade in a branch by updating the Composer constraint and running composer update laraxgram/core, then execute your full test suite. Because bot request FileBag handling changed, explicitly test file uploads and bot update flows, and stage new AWS, YAML, AI-SDK, and Citadel features disabled by default until validated.
- What production risks or maintenance concerns should I check before using laraxgram/core?
- Main production concerns include dependency sprawl from the new AWS, YAML, AI-SDK, and Citadel components, plus unclear maturity and documentation for those subsystems. The available context does not provide a formal support or security policy, so review release notes, issue activity, and maintenance history before adopting it.
- What are alternatives to laraxgram/core for Telegram bots in Laravel?
- Alternatives include dedicated Telegram bot SDKs and other Laravel packages that wrap the Telegram Bot API, as well as building directly on the API with Laravel's HTTP client and queues. Compare update handling, command routing, testing support, dependency footprint, and maintenance activity, since laraxgram/core is specifically the core of the LaraGram framework.