teksite/handler

Some features to handle Laravel codes better


License
MIT

Documentation

Handler Package

About

This package is developed to simplify some PHP and Laravel operations. It includes helper functions for working with try-catch statements and fetching data from the database, among other utilities.

Author

Sina Zangiband

Contact


Installation

Step 1: Install via Composer

Run the following command in your CLI:

composer require teksite\handler

Step 2: Register the Service Provider

Laravel 10 and 11

Add the following line to the bootstrap/providers file:

Teksite\Handler\ServiceProvider::class,

Laravel 5.x and earlier

If you are using Laravel 5.x or earlier, register the service provider in the config/app.php file under the providers array:

'providers' => [
    // Other Service Providers
    Teksite\Handler\ServiceProvider::class,
];

Note: This step is not required for newer versions of Laravel (5.x and above).


Feel free to reach out if you have any questions or need assistance with this package!