Тёмный

How To Add Pagination In Laravel | Laravel For Beginners | Learn Laravel 

Code With Dary
Подписаться 61 тыс.
Просмотров 18 тыс.
50% 1

This video will show you how you could simply add pagination in Laravel projects through Eloquent - Learn one of the most popular PHP frameworks for its advanced features, templating engine, fast commands and security.
📚 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: www.udemy.com/course/masterin...
📲 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: calendly.com/codewithdary
💌 Newsletter
Sign up for my free weekly email newsletter: www.newsletter.codewithdary.com
🔥 Resources
- PHP Hosting (10% DISCOUNT): www.hostinger.com/codewithdary
- TikTok: / codewithdary
- Instagram: / codewithdary
- Twitter: / codewithdary
- Blog: blog.codewithdary.com/
- Newsletter: newsletter.codewithdary.com/
- Patreon: www.patreon.com/user?u=30307830
- GitHub: github.com/codewithdary
Want to learn more?
- Courses: / @codewithdary
📋 Table of Content
00:00 - Introduction
00:28 - Pagination Example
01:00 - Pagination In The Controller
02:27 - Add Pagination In The UI
#laravel #laravel8 #php #pagination #eloquent

Опубликовано:

 

13 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 36   
@codewithdary
@codewithdary 2 года назад
LETS CONNECT THROUGH INSTAGRAM. www.Instagram.com/codewithdary
@tesla5005
@tesla5005 2 года назад
Laravel has lots of crazy and easy to use built-in stuff like this. It's mind blowing.
@codewithdary
@codewithdary 2 года назад
I can probably go on for months when it comes to built-in stuff! It's incredible.
@CarolineMiddlebrookUK
@CarolineMiddlebrookUK 3 года назад
pagination in two lines of code! #mindblown I am loving Laravel so far!
@codewithdary
@codewithdary 3 года назад
Insane isn’t it!?
@Unknown-yd2dr
@Unknown-yd2dr Год назад
Mr. Dary you are awesome. Please keep it up man. Now I am a big fan of you code.
@codewithdary
@codewithdary Год назад
Thank you Rimon!
@guillermomedel1575
@guillermomedel1575 2 года назад
Thanks my guy. You saved the day!
@codewithdary
@codewithdary 2 года назад
No problem Guillermo!
@jeremyl4758
@jeremyl4758 3 года назад
Hi i did that : $books= $tag->book; $tags = Tag::has('book')->pluck('name', 'slug'); return view('book.index', compact('books', 'tags')); Where can i put the paginate() for everythin to work fine ?
@OnlyJavascript
@OnlyJavascript 3 года назад
festival here...still I came here to learn from Dary.
@codewithdary
@codewithdary 3 года назад
My man! :D
@UTravis
@UTravis 2 года назад
Appreciate!!
@codewithdary
@codewithdary 2 года назад
Thank you :)
@veteranofdeath4610
@veteranofdeath4610 Год назад
Thank you, the paginate haven't showed in my page, first i thought am having a error with my code, reason was i haven't add link code. again thank you
@codewithdary
@codewithdary Год назад
You're welcome!
@vinhvo4816
@vinhvo4816 3 года назад
Thaks very much
@codewithdary
@codewithdary 3 года назад
You are welcome!
@tim.bogdanov
@tim.bogdanov 3 года назад
how would you implement cursor pagination with infinite scrolling?
@codewithdary
@codewithdary 3 года назад
This might help you out Tim: github.com/juampi92/cursor-pagination
@OnlyJavascript
@OnlyJavascript 3 года назад
hello guru ji. waiting for next video.
@codewithdary
@codewithdary 3 года назад
Monday again! Took the week off.
@OnlyJavascript
@OnlyJavascript 3 года назад
@@codewithdary i am waiting. :D
@augischadiegils.5109
@augischadiegils.5109 2 года назад
Thankss
@codewithdary
@codewithdary 2 года назад
Welcome Augis.
@wmafendi
@wmafendi Год назад
easy babe!
@codewithdary
@codewithdary Год назад
Glad it made it easy for you :)
@ast453000
@ast453000 2 года назад
I got the pagination, but it's not formatted properly at all. Did I miss a step? Is there some connection to bootstrap I should have made? I added Paginator::useBootstrap(); to app/Providers/AppServiceProvider.php per the documentation, but now it's improperly formatted in a different way.
@palkalman9481
@palkalman9481 2 года назад
i have the same problem, can you please somehow show your AppServiceProvider.php? i dont know where to write the line you mentioned.
@ast453000
@ast453000 2 года назад
@@palkalman9481 I wasn't able to solve the problem, so I just moved on. I'll figure out how to correct the styling when I really need to in a future project. For now I'm just focused on learning the basics of Laravel.
@rajabhishek2936
@rajabhishek2936 3 года назад
Awosem
@asim-gandu-phenchod
@asim-gandu-phenchod 3 года назад
You are definitely invited on my marriage
@codewithdary
@codewithdary 3 года назад
Can't wait! :)
@angellamarston4873
@angellamarston4873 3 года назад
I AM GETTING THIS ERROR, PLEASE HELP,THANK YOU : Method Illuminate\Database\Eloquent\Collection::links does not exist. (View: C:\xampp\htdocs\laravel esources\views\admin.blade.php)
@codewithdary
@codewithdary 3 года назад
Check your view blade, that method (links()) only could be used when your data model is implementing paginate() method.
Далее
Boots on point 👢
00:24
Просмотров 1,5 млн
How To Make Pagination In Laravel Tutorial
5:07
Просмотров 32 тыс.
The Story of Next.js
12:13
Просмотров 554 тыс.
Git MERGE vs REBASE: The Definitive Guide
9:39
Просмотров 90 тыс.
Intel's CPUs Are Failing, ft. Wendell of Level1 Techs
23:59
You’re Probably Doing Pagination Wrong
6:34
Просмотров 4,3 тыс.