How to Send Slack Notification With Laravel ?

How to Send Slack Notification With Laravel?

In Laravel, each notification is represented by a single class that is typically stored in the app/Notifications directory. Don’t worry if you don’t see this directory in your application. It will be created for you when you run the below artisan command make:notification ie. php artisan make:notification TestNotification.php Laravel documentation on how to create notification https://laravel.com/docs/10.x/notifications Laravel notification can be used for many purpose as for example, sending SMS, Email etc....

May 17, 2023 · 2 min · 260 words · Prakash Bhandari
How to Create Custom Laravel Facades And Use Them In Your Laravel Applications?

How to Create Custom Laravel Facades And Use Them In Your Laravel Applications?

In this post, I will cover what is facades in Laravel, how to create your own custom facades and use them in Laravel applications. Probably, facades are one of the discussed topics in the laravel community. According to Dictionary.com The word ‘facade’ refers to a “superficial appearance or illusion of something.” In architecture, the term refers to the front of a building. Any side of a building facing a public way or space and finished accordingly...

December 7, 2022 · 6 min · 1145 words · Prakash Bhandari
Create Laravel Composer Package From Scratch and Publish on Packagist

Create Laravel Composer Package From Scratch and Publish on Packagist

In this post, I’m going to explain how you can create Laravel package locally and publish to Packagist. To demonstrate, I will create a package to convert Hindu Arabic(Nepali) number to English and English number to Hindu Arabic (Nepali). Creating Laravel package is not that hard. In few simple steps you can create your own package. I will go through few steps: Step #1: Install Laravel I choose Laravel 9 because Laravel 9 is the latest version of Laravel....

December 4, 2022 · 8 min · 1693 words · Prakash Bhandari