rodoud/profiler-assistant-bundle

AI-powered profiler assistant for Symfony applications - helps beginners understand and fix errors

Installs: 101

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 0

Forks: 1

Open Issues: 0

Type:symfony-bundle

pkg:composer/rodoud/profiler-assistant-bundle

v1.0.1 2025-06-03 22:54 UTC

This package is auto-updated.

Last update: 2025-12-04 01:08:52 UTC


README

Symfony PHP License Packagist Version Packagist Downloads

An AI-powered profiler assistant for Symfony applications that helps developers understand and fix errors through intelligent analysis and interactive chat support.

Developed by Rodoud.com 🚀

✨ Features

🤖 Intelligent Error Analysis

  • AI-Powered Diagnostics: Automatically analyzes exceptions with context-aware explanations
  • Smart Categorization: Identifies error types (Configuration, Database, Routing, etc.)
  • Solution Suggestions: Provides actionable steps to resolve issues

💬 Interactive AI Chat

  • Real-time Assistance: Chat with AI about your specific Symfony issues
  • Context Awareness: AI has full access to error details and environment info
  • Conversational Help: Ask follow-up questions and get detailed explanations

🔍 Universal Error Handling

  • Profiler Integration: Enhanced Symfony profiler with AI insights
  • 500 Error Coverage: Handles critical errors when profiler isn't available
  • Missing Bundle Detection: Identifies and helps resolve dependency issues

🎯 Developer-Friendly

  • Beginner Focused: Perfect for developers learning Symfony
  • Stack Trace Analysis: Clean, readable stack traces focused on your code
  • Environment Context: Shows PHP version, Symfony version, and environment details

📦 Installation

Via Composer

composer require rodoud/profiler-assistant-bundle --dev

Bundle Registration

Add the bundle to your config/bundles.php:

<?php

return [
    // ... other bundles
    Rodoud\ProfilerAssistantBundle\RodoudProfilerAssistantBundle::class => ['dev' => true, 'test' => true],
];

Routing Configuration

Add routing to your config/routes.yaml:

when@dev:
  rodoud_profiler_assistant:
    resource: '@RodoudProfilerAssistantBundle/src/Controller/'
    type: attribute
    prefix: /_rodoud

Optional Security Configuration

If your app uses security (authentication or access control),
you need to add this rule to allow access to the profiler controller:

security:
  access_control:
    - { path: ^/_rodoud, roles: PUBLIC_ACCESS }

🚀 Usage

Basic Usage

Once installed, the Profiler Assistant automatically:

  1. Enhances your Symfony profiler with AI-powered error analysis
  2. Intercepts 500 errors when profiler isn't available
  3. Provides intelligent suggestions for common issues
  4. Enables AI chat for personalized help

AI Chat Features

The AI assistant can help with:

  • Error Explanation: "What does this error mean?"
  • Step-by-step Solutions: "How do I fix this configuration issue?"
  • Best Practices: "What's the recommended way to handle this?"
  • Code Examples: "Show me the correct syntax for this YAML config"
  • References and links: "Shows helpful links or docs related to the detected error"

🎨 Screenshots

Enhanced Error Page

Error Page

AI Chat Interface

Chat Interface

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

👨‍💻 About the Author

Adnen Chouibi
📧 adnen.chouibi@gmail.com
🌐 Linkedin

About Rodoud.com

Rodoud.com is a startup focused on building smart automation tools for customer service, e-commerce, and AI. We use technologies like Symfony and modern AI to create real-world solutions for businesses. We love sharing our knowledge and supporting the Symfony community with useful tools and ideas.

Made with ❤️ by Rodoud.com

If this bundle helped you, consider giving it a ⭐ on GitHub!

GitHub stars