Download the PHP package mappweb/laravel-neuron-ai without Composer
On this page you can find all versions of the php package mappweb/laravel-neuron-ai. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-neuron-ai
Laravel NeuronAI
A Laravel wrapper for neuron-ai that facilitates the integration of the AI agents framework into Laravel applications.
Official Documentation
Guides and Tutorials
Check out the technical guides and tutorials file to learn how to create your artificial intelligence agents with Neuron. https://docs.neuron-ai.dev/resources/guides-and-tutorials.
Features
- ๐ Easy installation - Automatic configuration with auto-discovery
- ๐จ Artisan commands - Generate AI agent classes with
make:agent
and prompt classes withmake:prompt
- โ๏ธ Flexible configuration - Support for multiple AI providers
- ๐ง Facade included - Simple access through
NeuronAI::
- ๐ Flexible prompts - Create custom prompt classes with any structure you need
- ๐งช Tests included - Complete test suite
- ๐ Complete documentation - Detailed examples and guides
Supported AI Providers
- OpenAI (GPT-4, GPT-3.5-turbo)
- Anthropic (Claude 3)
- Google Gemini
- Ollama (Local models)
Installation
Via Composer
Publish Configuration
Configuration
Add the following variables to your .env
file:
Usage
Generate Agents with Artisan
Generate Prompts with Artisan
Generated Agent Example
Usage in Controllers
Usage with Facade
Advanced Configuration
The config/neuron-ai.php
file allows you to configure:
Generated Prompt Example
make:agent
Command Options
Option | Description | Example |
---|---|---|
--provider |
AI provider to use | --provider=openai |
--instructions |
Custom instructions | --instructions="You are helpful" |
--tools |
Tools (comma-separated) | --tools="WebSearch,Email" |
--path |
Custom directory | --path="CustomAgents" |
--force |
Overwrite existing files | --force |
make:prompt
Command Options
Option | Description | Example |
---|---|---|
--content (-c ) |
Default content/template | --content="Hello {$this->name}!" |
--path |
Custom directory | --path="Custom\\Prompts" |
--force (-f ) |
Overwrite existing files | --force |
Available Providers
openai
โ OpenAIProvideranthropic
โ AnthropicProvidergemini
โ GeminiProviderollama
โ OllamaProvider
Testing
Changelog
Please see CHANGELOG for recent changes.
Contributing
Contributions are welcome. Please review CONTRIBUTING for more details.
Security
If you discover security vulnerabilities, please send an email to [email protected].
Credits
- Neuron-ai.dev
- Diego Toscano
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-neuron-ai with dependencies
illuminate/support Version ^9.0|^10.0|^11.0
illuminate/console Version ^9.0|^10.0|^11.0
inspector-apm/neuron-ai Version ^1.14.15