Latest Premium Tutorial
-
· 7 mins, 1351 words · premium
Laravel and Vue.js: Pagination and Infinite Scroll Examples
Data pagination is a common feature on the web. This article will cover implementing it in Vue.js components by fetching data from Laravel API. Let's quickly implement one using the laravel-vue-pagination package. Also, we will cover the "infinite scroll" pagination.
Newest content
-
· 4 mins, 603 words
Laravel and Vue.js: Datatables.net with Vue 3 and Inertia
-
· 3 mins, 501 words
Laravel and Vue.js: How to Display Validation Errors
-
Random Quick Laravel Tip:
New array validation rule required_array_keysLaravel 8.82 adds a
required_array_keys
validation rule. The rule checks that all of the specified keys exist in an array.Valid data that would pass the validation:
$data = ['baz' => ['foo' => 'bar','fee' => 'faa','laa' => 'lee'],];$rules = ['baz' => ['array','required_array_keys:foo,fee,laa',],];$validator = Validator::make($data, $rules);$validator->passes(); // trueInvalid data that would fail the validation:
$data = ['baz' => ['foo' => 'bar','fee' => 'faa',],];$rules = ['baz' => ['array','required_array_keys:foo,fee,laa',],];$validator = Validator::make($data, $rules);$validator->passes(); // falseTip given by @AshAllenDesign
-
· 4 mins, 649 words
Laravel and Vue.js Translations with i18n Plugin
-
· 1 min, 190 words
Filament Date Picker: Disable Dates with Conditions
-
· 2 mins, 397 words
How to Add Vue.js 3 into Laravel 10 with Vite: Quick Tutorial
-
Premium Course: [NEW] Livewire 3 From Scratch: Practical Course
-
· 5 mins, 980 words
Laravel and DomPDF: Generate Simple Invoice PDF with Images and CSS
-
· 10 mins, 1937 words · premium
Laravel Invoices: Auto-Generate Serial Numbers - 4 Different Ways
-
· 4 mins, 663 words
Filament: Stats Widgets Above Table - Auto-Update with Filters
-
· 2 mins, 202 words
Filament: Add Theme Footer with Render Hooks
-
· 5 mins, 913 words
UUID in Laravel: 5 Common Questions