Tag : Laravel 7


Laravel 9 Foreach Loop Variable Example

Laravel 9 Foreach Loop Variable Example

In this article, we will see laravel 9 foreach loop variable example. Laravel provides a simple blade template that provides many directives to use directly in HTML code. Blade also provides convenient shortcuts for common PHP control structures, such as conditional statements and...

Laravel 9 Pluck Method Example

Laravel 9 Pluck Method Example

In this article, we will see laravel 9 pluck method example. The pluck method retrieves all of the values for a given key. You can also retrieve values from arrays and collections. You may also pluck keys and values using the pluck() method.

Also, y...

How To Merge Two Collections In Laravel

How To Merge Two Collections In Laravel

In this article, we will see how to merge two collections in laravel 8 or laravel 9. The Illuminate\Support\Collection class provides a fluent, convenient wrapper for working with arrays of data. In this example, we will merge two collections using the laravel merge()...

How To Get Last 30 Days Record In Laravel 8

How To Get Last 30 Days Record In Laravel 8

in this tutorial, we see how to get last 30 days record in laravel 8. You can simply get the last 30 days record using laravel 8 eloquent model. In PHP, you can use INTERVAL to get the last 30 days record from the database. Also, we can see how to get the last 1 month's da...

How To Get Last 7 Days Record In Laravel 8

How To Get Last 7 Days Record In Laravel 8

In this example, we will see how to get the last 7 days record in laravel 8. You can simply get the last 7 days record using laravel 8 eloquent model. In PHP, you can use INTERVAL to get the last 7 days record from the database table. Also, we can see how to get last week's records in la...

How To Get Last Record In Laravel 8

How To Get Last Record In Laravel 8

In this example, we will see how to get the last record in laravel 8. You can simply get the last record using laravel 8 eloquent model. In PHP, you can use order by clause with descending order to get the last record from the database table.

In laravel provides the latest() method...

Laravel 8 QR Code Generator Example

Laravel 8 QR Code Generator Example

In this tutorial, we will see the laravel 8 QR code generator example. we will generate QR code using simplesoftwareio/simple-qrcode package in laravel 8. simplesoftwareio/simple-qrcode package is an easy-to-use PHP QR Code generator with first-party support for laravel 8.

...

Recommended Post
Featured Post




Follow us
facebooklogo github instagram twitter