BEST WAY to Build Resources in Laravel Nova | Laravel Nova for Beginners | Resources Nova
This video will show you how you could build resources in Laravel in the correct way. The primary features of building an admin panel in Laravel Nova are most of the times defined inside Resources, which handles all CRUD operations that are mostly defined inside a Resource Controller. We will dive into the correct way to build Resource Classes, different field types, shortcuts you could add to your Resource overview, making Resource Fields required, adding Readonly fields, and way more.
📚 New Udemy Course
If you're looking to level up your Laravel skills, my new course "Udemy Migirations, Seeders, Factories, Query Builder, Eloquent & Relationships" is the perfect opportunity. Learn the essential tools and techniques for building robust and scalable web applications with Laravel: https://www.udemy.com/course/mastering-laravel-10-query-builder-eloquent-relationships/?referralCode=C784C3DB5B8925207FCB
📲 Let’s plan a meeting
Plan a (paid) 1-hour meeting on Calendly to do portfolio reviews, code reviews resume reviews or a coaching session for Laravel. Please read the description before booking: https://calendly.com/codewithdary
💌 Newsletter
Sign up for my free weekly email newsletter: https://www.newsletter.codewithdary.com
🔥 Resources
- PHP Hosting (10% DISCOUNT): https://www.hostinger.com/codewithdary
- TikTok: https://www.tiktok.com/@codewithdary
- Instagram: https://www.instagram.com/codewithdary/
- Twitter: https://twitter.com/codewithdary
- Blog: https://blog.codewithdary.com/
- Newsletter: https://newsletter.codewithdary.com/
- Patreon: https://www.patreon.com/user?u=30307830
- GitHub: https://github.com/codewithdary/product-dashboard
🔗 Useful links
- Field Types: https://nova.laravel.com/docs/4.0/resources/fields.html
- Show / Hiding Fields: https://nova.laravel.com/docs/4.0/resources/fields.html#showing-hiding-fields
📋 Table of Content
00:00 - Introduction
02:33 - Correct Way to Build Resource Classed
05:51 - Field Types / Building our First Resource
08:27 - Shortcuts on a Resource Overview
09:04 - Renaming Label on Resource
09:45 - Defining Field Types for Products
11:56 - Making Fields Required
12:49 - Changing Currency on Currency Field Type
13:20 - Readonly Fields
15:36 - Changing the Displayed Product Name
16:28 - Showing / Hiding Fields
17:50 - Building a Modal
19:22 - Adding Placeholders to Field Types
20:23 - Table Styling
21:39 - Adding Additional Information to Field Types
#laravel #php #laravelframework #laravelnova #nova