💡 Ideal for practice projects, portfolios, and to understand how to integrate real-world LLMs into your Laravel apps.
In this workshop, we'll build a mini-ecommerce site from scratch with Laravel 12, where each product can receive a real-time AI-generated review. We'll use Prism as a bridge to LLM models such as OpenAi, Antropic, Deekseek, or, as in our case, Groq + Llama. We'll apply architectural best practices for a Laravel project, asynchronous interaction, and dynamic content generation with AI.
🧠 What will you learn?
✔️How to connect Laravel with AI using Prism and Groq
✔️How to generate automatic product reviews
✔️Migrations, models, relationships, seeders, and factories
✔️Creating a product grid with Tailwind
✔️Asynchronous requests with modern JavaScript
✔️Clean architecture using controllers with __invoke()
🔗 Useful links:
• Prism documentation: https://prismphp.com/
• Groq API Key: https://console.groq.com/keys
• Gist with the view and modal: https://gist.github.com/YouDevs/9a7bf...
📋 Workshop Timing
🔹Intro: Why integrate AI into your projects? - 0:00
🔹What we're building today - 0:29
🔹Member-only content - 01:12
🔹Prerequisites - 01:26
🔹Creating the project with Laravel Herd - 02:11
🔹Database modeling (categories and products) - 02:45
🔹Factories and Seeders - 07:14
🔹Index view with product grid - 14:46
🔹What is Prism and how do I install it? - 18:43
🔹Configuring Prism with Groq - 20:05
🔹Controller to generate reviews with AI - 20:49
🔹Building the prompt with product data - 22:15
🔹Sending the review to the frontend - 29:33
🔹Testing the AI-generated review - 31:58
🔹Conclusion and final thoughts - 32:38
#laravel12 #ia #laravelprism #cursolaravel #backenddeveloper