salamzadeh/installerpb

Laravel Installer: Simplifies Laravel application installation for a seamless setup experience. Requires PHP 8.0.0+, follows PSR-4 autoload, and is MIT-licensed.

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/salamzadeh/installerpb

dev-master 2025-12-31 20:27 UTC

This package is auto-updated.

Last update: 2025-12-31 20:52:52 UTC


README

installerPB packages can be easily installed with any Laravel project. They are designed to be user-friendly and simple to use. With installerPB, you can easily configure all the necessary configurations dynamically, including the minimum required PHP version, PHP execution, default Laravel folder permissions, .env file setup, and custom account form. Additionally, the package includes an automated database migration and seed process.

screenshot

Getting Started

composer require salamzadeh/installerpb

Step 1

It seems like you are trying to include a service provider in your Laravel application. If you want to add the installerPB\InstallerServiceProvider::class to your Laravel application, you typically need to follow these Steps:

Locate config/app.php: Open the config/app.php file in your Laravel project.

Find providers array: Inside the config/app.php file, find the providers array.

'providers' => [
    // ...
    installerPB\InstallerServiceProvider::class,
],

Step 2

 php artisan vendor:publish --tag=installerPB --force

Step 3 Now start the installation

 https://yourdomain.com/app/install

screenshot

How to customize Requirements and Permissions?

Certainly! If you want just the content without additional explanations, here's the simplified content for your yourProject/config/install.php file.

"requirements" => Add or remove additional PHP extensions as needed
"permissions" => Add or remove additional folder permissions as needed

How to add new .env variable dynamic ?

If you want to create an additional .env file based on the configuration in the yourProject/config/install.php file, you can follow these Steps: We will be displaying of .env Within the same, you need to include the following.

The last line, which ends with ., followed by a new line character \n, will not persist. Ex:

'needed="34dsf24bcgf"' . "\n".
'apikey="123456"',

How can I insert dynamic extra fields to the Account form?

When you go to the path resources/views/vendor you will see account.blade.php By modifying it, you can add extra fields like this.

 <div class="col-md-12 mb-3">
    <x-input label="Phone Number" required="ture" name="phone_number" type="text"
        value="{{ old('phone_number') }}" />
    <x-error for="phone_number" />
 </div>

After adding, you need to go to yourproject/config/install.php where the input tag name will be, and add it to the account array inside install.php like this

 'account' =>    [
        'name' => 'required|string|max:255',
        'email' => 'required|email|unique:users|max:255',
        'password' => 'required|string|min:6',
        'phone_number' => 'required',
    ]