How to Use Metrics in Laravel Nova | Metrics for Beginners | Laravel Nova for Beginners
This video will show you how you could create custom Metrics in Laravel Nova. When it comes to admin panels, you do always want to show some kind of statistics related to your project or resource to the end user. By doing that, users gain insight into the business indicators of your Laravel Nova application. Laravel Nova allows you to define four different metrics: we got value, trend, partition, and progress.
πΒ 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
- Laravel Metrics Docs: https://nova.laravel.com/docs/4.0/metrics/defining-metrics.html
π Table of Content
00:00 - Introduction
01:01 - CLI Command for our Metric
01:32 - Defining our first Metric
03:58 - Registering our Metric
04:40 - Metric for the Average Product Price
06:21 - Trends Metrics
#laravel #laravelnova #metrics