Gemma 4 31B Laravel Livewire - The CRUD Game Changer

Tony Xhepa| 00:07:35|Apr 7, 2026
Chapters6
The host introduces using Gemma 31 billion for a Laravel article CRUD project and previews the workflow to implement create, read, update, and delete features.

Tony Xhepa demonstrates building a Laravel Livewire CRUD app using Gemma 4.31B, showing single-file components, routing, and Flux UI for a fully functional Article resource in minutes.

Summary

Tony Xhepa pushes Gemma 4.31B to the test by re-creating a complete Article CRUD in Laravel with Livewire 4 SFCs. He starts from a blank Gemma project and mirrors the post CRUD pattern, then switches to a page-based SFC approach for index, create, and edit pages. The video highlights using OpenCode with a Gemma 4.31B cloud setup, creating the Article model (title, slug, content), and auto-generating slugs from the title. Tony emphasizes integrating routes in web.php, Flux UI for tables and forms, and validating inputs on create and edit pages. He also notes how the setup scales: the same architecture worked previously with Gemma 4 (4 billion) and is now tested on 31 billion, with attention to weekly usage and potential limits. The walkthrough includes real-time testing—creating, editing, and deleting articles—and ends with reflections on Gemma’s cloud limits and practical machine requirements. Overall, the video is a hands-on proof-of-concept for rapid CRUD with Livewire 4 in Gemma’s cloud environment.

Key Takeaways

  • Gemma 4.31B can accelerate Laravel CRUD development by enabling a post-CRUD pattern mirrored for articles using Livewire 4 SFC components.
  • The implementation uses a page-based SFC structure with dedicated index, create, and edit pages for articles, while keeping the model, migration, and routes coherent in Laravel.
  • Slug generation is automated from the title during article creation, ensuring consistent URL-friendly slugs in the Article model.
  • Flux UI is leveraged for both the index table and forms, providing a cohesive UI without building from scratch for each action (create, edit, delete).

Who Is This For?

Essential viewing for Laravel developers who want to see how Gemma 4.31B integrates with Livewire 4 for rapid CRUD scaffolding, and for engineers evaluating cloud-based rapid app provisioning with Gemma.

Notable Quotes

""Create article crowd using liveware four single file components mirroring the postcrat pattern.""
Tony describes mirroring the post CRUD pattern with Livewire SFCs.
""Now here is now I'm going to show If we see up here, I suggest use live wire 4 sfc component the same as postcrat""
He recommends an SFC-based approach aligned with the post CRUD example.
""Created. We have the edit. We can update. Okay. And we can delete""
Demonstrates full CRUD cycle (create, edit, delete) working in the UI.
""But yeah, if we go to Olama, you can see we have the usage here and weekly usage""
Notes cloud usage metrics and long-term considerations for Gemma.

Questions This Video Answers

  • how to build a Laravel Livewire CRUD with Gemma 4.31B in cloud
  • can Gemma 4.31B handle Laravel CRUD faster than manual scaffolding?
  • how to implement page-based SFCs for Laravel Livewire 4 in Gemma
  • what is Flux UI and how is it used in Laravel CRUD apps with Livewire
  • how does slug generation work automatically in a Laravel Livewire create form
Laravel LivewireGemma 4.31BGemma cloudLivewire 4 SFCArticle CRUDFlux UIOpenCodePage-based SFCslug generationweb.php routing
Full Transcript
Hello friends, Tony here. Welcome. I worked with the Gemma to try if Gemma is very good. Gemma 4 is very good for Laravel development. And yeah, it was not I was not impressed with that. But the Gemma 4 I used in that video was uh 4 billion I think. So in this video I'm going to use 31 billion. I am in this uh Gemma project which I worked also with the open code the quen 3.6 and yeah we have a CR for post task and tags. Now I'm going to use again Gemma but 31 billion to create article CR using uh live wire the same prompt just change I'm going to create an article CR now. Okay. So let's copy this and let's h come here and I'm going to open the open code and here as you can see I have chos have a gem of 4 31 billion and I'm going to use the cloud. Okay, I'm going to paste that in and I'm going to hit enter. So create article crowd using lab where four single file component and use page components. I have added here for index, create and edit articles also on the open code. Yeah, as you can see I have uh brainstorming. I have added some skills. So explore the project context uh offer visual campaign ask clarifying question propose approaches present design and get approval write design talks and commit. Okay. Laravel boost application. Okay. So has created uh dogs superpowers specs and article craft design. I'm going to open a new tab and let's open this with a VS code just see. Okay. This a doc super powers specs and here is the implementation a full crowd create read update delete for articles using library 4 model is article fields title slag and the content that jma asked me and I said I want the title slack and the content components all components will be sfc located in resources views pages articles now here is now I'm going to show If we see up here, I suggest use live wire 4 sfc component the same as postcrat and and you can refer to that post folder because the model suggests me. The recommended approach page based SFC. But SFC is not like this index page article index and article create and also article edit which are class components. So index page is going to have a title articles and features paginated list of articles new article button link to create a page. Okay. And table action edit and delete. Good. Create page. Create blade with title. Create article features form fields. Title the content validation title and the content required logic generates slack using SCR slack good edit page title and so on. I'm going to to implement this just let's go back and let's say just implement. Okay friends. So we are back. Uh here I have successfully implemented the article crowd using liveware four single file components mirroring the postcrat pattern. Okay. So database created the article model and migration with title slack content index page is inside this uh pages articles index blade PHP with flux UI table and delete functionality create page with validation and automatic slack generation edit page implementation with prefilled data and update logic routing added in the routes web PHP using liveware component approach. and UI using flux UI. All tasks are completed. And I liked this uh because if you see first we have implement the article edit page for example. Then another agent is going to review the article edit page for spec compliance. Then review the article edit page for code quality. Add authorization to article edit page. And the same we had also for the others. You can see implement the create uh review the article create page for spec compliance and also for the index for example. So first implement article database migration review code quality and spec and yeah also here quality issue fix the page quality issues. Now let's see if I come here and refresh and first we don't have the link here. So I'm going to ask what to say add add a link for articles on sidebar and if I navigate the slash articles just to see here is the articles. Okay we can got our new article. If I say create we have the validation cancel. Go back. Use fake filler. Create. Okay. Created. We have the edit. We can update. Okay. And we can delete has added also the articles now. So we have got the same we had also with the cloud code and the quen 3.6. six. And I liked this. And now I am impressed with this model. I don't know if we have an empty project, this Gemma would uh do the same thing. I'm going to test because I like uh now this Gemma 4 which is 31 billion and is in cloud and this is okay. But yeah, if we go to Olama, you can see we have the usage here and weekly usage just about this project, we have 11% used only by creating this article crowd. So if you work with this for a long time, yeah, you are going to hit the limits and the best way is to download, but you need to have a good machine. Okay friends, that's it all about this video. What I wanted to show you Grat with the old Lama and Gemma for 31 billion. So that's it all about this video. If you like, don't forget to subscribe to my channel, like the video, share with your friends, and I'm going to see you in the next video. All the best.

Get daily recaps from
Tony Xhepa

AI-powered summaries delivered to your inbox. Save hours every week while staying fully informed.