Download the PHP package llm-agents/agent-symfony-console without Composer
On this page you can find all versions of the php package llm-agents/agent-symfony-console. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download llm-agents/agent-symfony-console
More information about llm-agents/agent-symfony-console
Files in llm-agents/agent-symfony-console
Package agent-symfony-console
Short Description Simple agent that can handle Symfony Console commands based on user input
License MIT
Informations about the package agent-symfony-console
Symfony Console Agent 🎭
Welcome to the Symfony Console Agent, your new bestie for turning natural language into command-line magic. This nifty agent understands your human babble and translates it into console commands. It's like having a super-smart CLI assistant right at your fingertips!
What's the deal? 🤔
Ever wished you could just tell your console what to do in plain English? Well, now you can! This agent takes your casual requests and figures out which Symfony command to run. It's perfect for devs who are new to a project, can't remember exact command syntax, or just feeling a bit lazy (we've all been there).
Here's a short video to show you how it works:
Requirements 📋
- PHP 8.3 or higher (we're living in the future, baby!)
- Symfony Console component
- A sense of humor (optional, but highly recommended)
Installation
First, make sure you've got Composer installed. Then, run this command to add the Symfony Console Agent to your project:
Setup in Spiral Framework
- Open up your
app/src/Application/Kernel.php
file. - Add the bootloader like this:
And that's it! Your Spiral app is now ready to use the agent.
Laravel
For Laravel, there's a service provider you can use:
Usage
To start using the Symfony Console Agent, you'll need to implement the
LLM\Agents\Agent\SymfonyConsole\CommandManagerInterface
. interface. This interface is responsible for fetching command
help, listing available commands, and executing commands.
Here's an example of how you might use it in a Laravel application:
Class diagram
Want to help out? 🤝
We love contributions! If you've got ideas to make this agent even cooler, here's how you can chip in:
- Fork the repo
- Make your changes
- Create a new Pull Request
Just make sure your code is clean, well-commented, and follows PSR-12 coding standards.
License 📄
This project is licensed under the MIT License - see the LICENSE file for details.
That's all, folks! If you've got any questions or run into any trouble, don't hesitate to open an issue.
All versions of agent-symfony-console with dependencies
llm-agents/agents Version ^1.5
llm-agents/json-schema-mapper Version ^1.0
symfony/console Version ^6.0||^7.0