Quickstart

Quickstart

1. Installed Laravel 11

Your Laravel 11 is installed and ready to use.

If not? Install first https://laravel.com/docs/11.x/installation

2. Install via composer

composer require "filefabrik/bootraiser:~2.0"

3. Modify your service provider

<?php

namespace YourCompany\YourPackage\Providers;

use Filefabrik\Bootraiser\Raiser;
use Illuminate\Support\ServiceProvider;

class YourPackageServiceProvider extends ServiceProvider
{
    public function register(): void
    {
        parent::register();
        // only if need 
        Raiser::forProvider($this)->loadConfigs();
    }

    public function boot(): void
    {
        Raiser::forProvider($this)->all();
    }

}
ℹ️
Options that you have not implemented are automatically skipped.
ℹ️
Options that have already been called up are automatically not called up again
Last updated on