PHP

API Authentication using Laravel Sanctum v10.x

Sanctum is a simple package using to implement authentication for API (Application Programming Interfaces). its designed for securing API routes in Laravel applications.Sanctum is a featherweight, meaning it is light and simple to implement.
Learn More

Manually Adding Categories to a Custom Post Type with Code

If you created your custom post type by adding the code in your theme’s functions.php file, a site-specific plugin, or in a code snippets plugin, then you will have to modify the code to add category as supported taxonomy.
Learn More

Session (#[Session])

In Livewire 3, working with sessions has become even more convenient thanks to the #[Session] attribute. This allows you to bind a component property directly to a session value: Livewire will automatically write changes to the session and read them during initialization.
Learn More

The Output Buffer (ob_start())

Working with the output buffer begins with a function ob_start()- this function has three optional parameters, but I'll talk about them a little later, but for now, remember - to enable the output buffer, we use the function ob_start():
Learn More

asort

asort — Sorts an array in ascending order, preserving index association.
Learn More

Component and Slot

How to use Component and Slot (Example)
Learn More

Laravel Ajax CRUD Example

Create AJAX laravel Crud
Learn More

DOMPDF Wrapper for Laravel

Require this package in your composer.json and update composer. This will download the package and the dompdf + fontlib libraries also.
Learn More

Laravel, Subquery

Laravel, Subquery
Learn More

Component Start Settings

Component Start Settings
Learn More