Download the PHP package kejubayer/laravel-installer without Composer
On this page you can find all versions of the php package kejubayer/laravel-installer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kejubayer/laravel-installer
More information about kejubayer/laravel-installer
Files in kejubayer/laravel-installer
Package laravel-installer
Short Description Smart Laravel installer package with modern multi-step UI for cPanel deployment
License MIT
Informations about the package laravel-installer
Laravel Installer
A smart, production-friendly Laravel installation wizard for apps deployed on shared hosting, cPanel, VPS, or traditional servers.
kejubayer/laravel-installer adds a modern multi-step installer UI that guides users through:
- server requirement checks,
- file permission checks,
- database credential setup and validation,
- migration + optional seeding,
- installation lock to prevent re-running the installer.
Package Description
This package is designed for Laravel products that are distributed to end users and need a browser-based setup flow instead of manual CLI-only installation.
What it does
- Registers installation routes automatically via a service provider.
- Provides an install flow under a configurable route prefix (default:
/install). - Verifies PHP and required extensions before installation.
- Validates writable paths (
storage,bootstrap/cache). - Tests MySQL database credentials before saving.
- Updates
.envdatabase keys safely. - Runs
php artisan migrate --forceand optional seeding. - Creates a
storage/installedlock file to block re-installation.
Compatibility
- PHP:
^8.1 - Laravel:
^10.0 | ^11.0 | ^12.0
Installation
1) Install via Composer
The package supports Laravel auto-discovery, so the service provider is registered automatically.
2) (Optional) Publish configuration
Publish config only if you want to override defaults:
Published file:
config/installer.php
3) (Optional) Publish views
Publish views if you want to customize the installer UI:
Published path:
resources/views/vendor/installer
Usage
1) Configure installer options (optional)
Edit config/installer.php:
route_prefix: URL path for installer routes.seed: runs seeders automatically after migration.required.php: minimum PHP version requirement.
2) Open the installer in browser
Visit:
(Or your custom route prefix from config.)
3) Complete the installer steps
The wizard will guide you through:
- Requirements: checks PHP version and required extensions.
- Permissions: verifies
storage/andbootstrap/cache/are writable. - Database: validates connection details and writes DB values to
.env. - Migration/Seed: runs migration (and seed if enabled).
- Finish: creates lock file at
storage/installed.
Once storage/installed exists, installer routes return 404 to prevent re-installation.
Reset / Re-run Installer
If you intentionally need to run installer again (for development/testing), remove the lock file:
Do this only when you fully understand the impact on an existing installation.
Security Notes
- Keep the installer enabled only until setup is complete.
- The lock file prevents public re-entry after installation.
- Use strong database credentials and secure server file permissions.
License
MIT