Download the PHP package erag/installererag without Composer
On this page you can find all versions of the php package erag/installererag. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download erag/installererag
More information about erag/installererag
Files in erag/installererag
Package installererag
Short Description Laravel Installer: Simplifies Laravel application installation for a seamless setup experience. Requires PHP 8.0.0+
License MIT
Informations about the package installererag
Laravel Installer: Easy & User-Friendly
InstallerErag packages can be seamlessly integrated into any Laravel project. Designed for simplicity, this package allows you to dynamically configure essential settings such as:
- Minimum PHP version required
- PHP execution
- Default Laravel folder permissions
.env
file setup- Custom account form
Additionally, InstallerErag automates database migrations and seeding processes.
Getting Started
Install the package via Composer:
Step 1: Register the Service Provider
Laravel 11.x
Ensure the service provider is registered in /bootstrap/providers.php
:
Laravel 10.x
Add the service provider to config/app.php
:
Step 2: Publish Vendor Files
Run the following command to publish the necessary assets:
Step 3: Start Installation
Navigate to your installation URL:
Step 4: Set Folder Permissions
Ensure the appropriate file or directory permissions with:
Customizing Requirements and Permissions
To customize PHP requirements or folder permissions, edit yourProject/config/install.php
:
Adding Dynamic .env
Variables
To add new .env
variables dynamically, modify yourProject/config/install.php
like so:
Inserting Dynamic Fields to the Account Form
To add extra fields to the account form:
- Navigate to
resources/views/vendor/account.blade.php
. -
Add the following code for a new field (e.g., phone number):
- Update the input tag in
yourproject/config/install.php
: