Cómo usar Laravel Boost con Gemini CLI

Optimiza tu blog en Laravel Boost con Gemini CLI, herramienta para mejorar la velocidad y rendimiento de tu sitio web, ajustando parámetros críticos como el caching y la optimización de imágenes.

9 nov 2025 • 3 min read • Q2BSTUDIO Team

Optimizar tu blog en Laravel Boost con Gemini CLI

Cómo usar Laravel Boost con Gemini CLI

Laravel Boost es un servidor MCP equipado con más de 15 herramientas para ayudar a tu asistente IA a generar código Laravel de alta calidad. En este artículo te explico cómo integrarlo con Gemini CLI paso a paso y cómo aprovecharlo en proyectos profesionales ofrecidos por Q2BSTUDIO, empresa de desarrollo de software y aplicaciones a medida, especialistas en inteligencia artificial, ciberseguridad, servicios cloud aws y azure y soluciones de inteligencia de negocio.

1 Instalación de Gemini CLI: Si no lo tienes instalado ejecuta en tu terminal el comando npm install -g @google/gemini-cli. Esto instala Gemini CLI globalmente para poder lanzar servidores MCP como Laravel Boost.

2 Instalación de Laravel Boost: Sitúate en la carpeta de tu proyecto Laravel y ejecuta composer require laravel/boost --dev. Después instala el servidor MCP y las guías de codificación con php artisan boost:install.

3 Configurar Gemini CLI: Una vez instalada la extensión crea el archivo .gemini/settings.json en la raíz de tu usuario o del proyecto. El archivo debe definir el servidor MCP para Laravel Boost, por ejemplo describiendo la estructura mcpServers con una entrada laravel-boost que use command php y args con artisan y boost:mcp. En términos sencillos la configuración deberá indicar que al invocar laravel-boost se ejecute php con los argumentos artisan y boost:mcp para arrancar el MCP de Laravel Boost.

4 Iniciar y verificar la integración MCP: Arranca Gemini CLI en tu terminal. Gemini CLI cargará automáticamente Laravel Boost si la configuración es correcta. Para comprobar que los servidores MCP y las herramientas están integradas ejecuta el comando de la interfaz de Gemini /mcp list y revisa la lista de herramientas disponibles.

Bonus Integración con Laravel Herd: Laravel Boost incluye herramientas para Herd. Si usas Herd copia el objeto herd desde la configuración MCP de tu editor, por ejemplo desde .vscode/mcp.json, y pégalo en .gemini/settings.json junto al objeto laravel-boost. El objeto herd debe indicar command php, args con la ruta al archivo herd-mcp.phar y opcionalmente una sección env con SITE_PATH apuntando a la ruta de tu proyecto como C:/OurPath/project-name. Con esto Gemini CLI podrá gestionar también comandos relacionados con Herd.

Consejos prácticos: Mantén tu archivo .gemini/settings.json en control de versiones locales si trabajas en equipo, documenta las herramientas disponibles para que los desarrolladores sepan qué puede invocar el asistente IA y combina Laravel Boost con guías de estilo de código para obtener resultados consistentes. Si necesitas ejecutar pruebas automatizadas o despliegues, integra los comandos MCP en tu pipeline CI para que agentes IA puedan sugerir cambios seguros y reproducibles.

En Q2BSTUDIO ofrecemos apoyo en la integración de herramientas de desarrollo y en la creación de soluciones personalizadas que combinan desarrollo a medida y capacidades de inteligencia artificial. Si buscas que tu equipo aproveche asistentes IA para generar código de calidad, optimizar procesos o desplegar servicios en la nube contamos con experiencia en aplicaciones a medida y en servicios cloud aws y azure. Podemos ayudarte también con ciberseguridad, pentesting y soluciones de inteligencia de negocio como Power BI.

Si tu prioridad es el desarrollo de aplicaciones y software a medida visita nuestra página de desarrollo de aplicaciones a medida para conocer casos y servicios. Para proyectos centrados en modelos de IA, agentes IA o ia para empresas consulta nuestros servicios de inteligencia artificial y descubre cómo podemos integrar asistentes inteligentes con tus flujos de trabajo.

Palabras clave: aplicaciones a medida, software a medida, inteligencia artificial, ciberseguridad, servicios cloud aws y azure, servicios inteligencia de negocio, ia para empresas, agentes IA, power bi. Ponte en contacto con Q2BSTUDIO para diseñar e implementar soluciones a medida que incluyan Laravel Boost, Gemini CLI y toda la infraestructura necesaria para escalar de forma segura y eficiente.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Artificial intelligence

AI agents, chatbots, and intelligent assistants that automate tasks and serve your customers 24/7 to improve the efficiency of your business.

More info

Software Development

Web, mobile, and desktop applications, intranets, e-commerce, SaaS, and management platforms designed for your company's specific needs.

More info

Cloud services

Migration, infrastructure, managed hosting, high availability, and security on Microsoft Azure and Amazon Web Services to help your business scale without limits.

More info

Cybersecurity and pentesting

Security audits, penetration testing and protection of applications, data and infrastructure on-premise and cloud, with ethical hacking and regulatory compliance.

More info

Business Intelligence

Dashboards and data analysis with Power BI: we integrate your sources, design dashboards and KPIs and turn your data into decisions.

More info

Process automation

We automate repetitive tasks and connect your applications with n8n, Power Automate, Make, and RPA, eliminating manual work and increasing productivity.

More info

Training for Companies

We train your teams in technology with criteria: web development, databases, Git, best practices and security, automation with n8n, artificial intelligence for companies and creation of AI solutions with Azure AI Foundry.

More info

Code Auditing

We audit the code that you, your team or an AI create: we tell you what is good and what to improve, we secure it and make it ready for production, web or app.

More info

AI Image Generation

We create for you the images that your business needs with artificial intelligence: product, networks, advertising, illustration and avatars. You tell us what you want and we deliver it ready to use.

More info

AI Video Generation

We create videos with artificial intelligence for you: promotional, networking, virtual presenters, dubbing and animations. You tell us the idea and we will deliver it assembled and ready to publish.

More info

AI Conversational Avatars

We create conversational avatars with AI – digital humans with a face and voice – that serve your customers and teams with the knowledge of your company, on your website, interactive monitors, WhatsApp or Teams.

More info

Online Marketing and AI

Google Ads, Meta Ads, LinkedIn Ads and AI Engine Positioning (GEO/AEO): we attract customers and make your brand appear where they search for you, also on ChatGPT, Gemini and Perplexity.

More info

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.

Live Chat