In this section, we’ll see how to send email using email library. To send the email, first we need to load the email’s service. That’s it!. Please share your thoughts or suggestions in the comments below.
To get the sql query, we can use enableQueryLog static method to print query. We can use: Or We can use toSql() to print the sql query. return select * from products That’s it!. Please share your thoughts or suggestions in the comments below.
Laravel 7 released on Tue, 3 Mar 2020 and it includes many new features including Laravel airlock, speed routing, better eloquent, blade component tags and many more. According to Release Notes, new packages, improvements and features in Laravel 7 are as follows: Laravel Airlock by Taylor Otwell Custom Eloquent Casts Blade Component Tags HTTP ClientRead more about Laravel7 Features[…]
In this article, We’ll see how to send push notification to android and ios both using fcm. Firebase Cloud Messaging (FCM) is a new cloud messaging services to send push notifications to Android, iOS and Web applications. It is the newer version of GCM (google cloud messaging) with more features. To send notifications, we basicallyRead more about Send Push Notification using FCM in PHP[…]
In this article, We’ll see about map, filter and reduce function and discuss them one by one and understand their use cases. map: applies a function to all the items in an input list. filter: creates a list of elements for which a function returns true. reduce: is a performing some computation on a listRead more about Map, Filter and Reduce[…]