定制 rodoud/profiler-assistant-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rodoud/profiler-assistant-bundle

最新稳定版本:v1.0.1

Composer 安装命令:

composer require rodoud/profiler-assistant-bundle

包简介

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

README 文档

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

统计信息

  • 总下载量: 101
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-02