Giter VIP home page Giter VIP logo

installer's Introduction

Codemen - Laravel Web Installer Package

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

  1. From your projects root folder in terminal run:
    composer require codemenorg/installer
  1. 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 value true. If this APP_INSTALLED is true then the route /install will abort to the 404 page or you can redirect to your specific route by editing installer. config file.
  • To redirect to install page until the installation is done, you need to add the following middleware in the middlewareGroups => web section in app/Http/Kernel.php:

\Codemen\Installer\Middleware\RedirectIfNotInstalled::class,

This middleware configuration is optional and can be skipped.

File File Information
config/installer.php In here you can set the requirements along with the folders permissions for your application to run, by default the array contains the default requirements for a basic Laravel app.
public/vendor/installer This folder contains a css folder and inside of it you will find a style.css file, this file is responsible for the styling of your installer, you can override the default styling and add your own.
resources/views/vendor/installer This folder contains the HTML code for your installer, it is 100% customizable, give it a look and see how nice/clean it is.

Contributing

License

Codemen - Laravel Web Installer is licensed under the MIT license. Enjoy!

installer's People

Contributors

ranabd36 avatar

Stargazers

Hafizur Rahman avatar Md Mazedul Islam Khan avatar Salahuddin Hairai avatar  avatar

Watchers

 avatar Codemen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.