codemenorg / installer
Codemen - Laravel Web Installer
Installs: 4 512
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 4
Open Issues: 0
Requires
- php: >=7.2.0
This package is auto-updated.
Last update: 2024-10-28 16:36:49 UTC
README
About
Do you want your clients to be able to install a Laravel project just like they do with WordPress or any other CMS? This installer allows users who don't use Composer, SSH etc to install your application just by following the setup wizard. The current features are :
- Check For Server Requirements.
- Check For Folders Permissions.
- Ability to set application information.
- Ability to set database information.
- Ability to set mail information.
- Ability to set others .env information.
- Migrate The Database.
- Seed The Tables.
Requirements
Installation
- From your projects root folder in terminal run:
composer require codemenorg/installer
- Publish the packages views, config file, assets, and language files by running the following from your projects root folder:
php artisan vendor:publish --tag=CodemenInstaller
Routes
/install
Usage
-
Install Routes Notes
- In order to install your application, go to the
/install
route and follow the instructions. - Once the installation has finished
APP_INSTALLED
environment variable be placed into the.env
file with valuetrue
. If thisAPP_INSTALLED
istrue
then the route/install
will abort to the 404 page or you can redirect to your specific route by editinginstaller.
config file.
- In order to install your application, go to the
-
To redirect to install page until the installation is done, you need to add the following middleware in the
middlewareGroups => web
section inapp/Http/Kernel.php
:
\Codemen\Installer\Middleware\RedirectIfNotInstalled::class,
This middleware configuration is optional and can be skipped.
Contributing
- If you have any suggestions please let me know : https://github.com/codemenorg/installer/pulls.
License
Codemen - Laravel Web Installer is licensed under the MIT license. Enjoy!