Skip to main content

Posts

Showing posts from November, 2023

How to send Email to Subscribers When You Publish a Post on Laravel

  Often we write blog post and wish to send email to subscribers automatically right after the publishing the post. This is a really cool feature for laravel blog application. However it might be tricky. In today’s blog post, I will show you can build a functionalities to send email to subscribers when you publish a post in laravel 10.

REST API Authentication using Sanctum Example Laravel 10

  In this tutorial, we'll learn how to create a RESTful API using Laravel 10 and Laravel Sanctum. We'll also explore how to test CRUD operations (create, read, update, delete) on RESTful APIs with Sanctum authentication in Laravel 10. This is a simple example of working with Laravel 10 Sanctum. Throughout this tutorial, you'll discover how to build APIs in Laravel with the help of the Laravel Sanctum package. Sanctum authenticates incoming HTTP requests by checking the Authorization header, which contains a valid API token. It efficiently manages user API tokens by storing them in a single database table.