GithubHelp home page GithubHelp logo

froiden / laravel-installer Goto Github PK

View Code? Open in Web Editor NEW
72.0 9.0 16.0 2.8 MB

Installer for Laravel 5.X

PHP 56.75% CSS 7.32% JavaScript 30.19% Blade 5.74%
laravel installer laravel54 laravel-installer

laravel-installer's Introduction

Laravel Web Installer

Packagist License Total Downloads

Laravel Web installer checks for the following things and install the application in one go.

  1. Check For Server Requirements.
  2. Check For Folders Permissions.
  3. Ability to set database information.
  4. Migrate The Database.
  5. Seed The Tables.

Note:

You need to have .env to the root

Installation

Require this package with composer:

composer require froiden/laravel-installer

After updating composer, add the ServiceProvider to the providers array in config/app.php.

'providers' => [
    Froiden\LaravelInstaller\Providers\LaravelInstallerServiceProvider::class,
];

Usage

Before using this package you need to run :

php artisan vendor:publish --provider="Froiden\LaravelInstaller\Providers\LaravelInstallerServiceProvider"

You will notice additional files and folders appear in your project :

  • config/installer.php : 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/installer/assets : This folder contains a css folder and inside it you will find a main.css file, this file is responsible for the styling of your installer, you can overide the default styling and add your own.
  • resources/views/vendor/installer : Contains the HTML code for your installer.
  • resources/lang/en/installer_messages.php : This file holds all the messages/text.

Installing your application

  • Install: In order to install your application, go to the /install url and follow the instructions.

Screenshots

Laravel web installer

Credits

RachidLaasri Installer

laravel-installer's People

Contributors

ajayfroiden avatar chrisbbreuer avatar mr-chetan avatar saraswat19 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel-installer's Issues

Undefined variable: envConfig

ErrorException in 6b7adc5aea4f2b70c862614bb85d232a42ea7109.php line 9:
Undefined variable: envConfig (View: /Users/steenrabol/Sites/wifdt/resources/views/vendor/installer/environment.blade.php)

migrateAndSeed() seems to not seed?

Hi!

I just noticed that it does not seed the database for some odd reason. Is it just me? I will try to figure out why it doesn't seed.

Thanks :-)

language file not taking correctly.

Screenshot 2024-02-09 at 12-27-25 app dashboard
I have installed package and installtion process worked perfectly, after launching my application language file is not loading,

I am using Laravel 10, PHP version 8.2

Please help me where can I fix it.

Actual language file location: source_code/Lang/en/

Let me know

Thank you

Undefined variable: envConfig

Fix:

In EnvironmentController environment() method, change the return to

return view('vendor.installer.environment', compact('envConfig'));

please, how to not install

developer used this lib to install stuff but ive already installed everything and i cannot login normally on app. ive created file installed on storage_path but no success. now page is blank. should i do to remove this lib from composer ?

Routes not working?!

Hi,

I installed your package, uploaded everything to my server, but when i try to go to the /install page, it says

The requested URL /install was not found on this server.

What am I doing wrong? I did all the steps from the readme, but my routes/web.php has no entry for /install

I think the artisan vendor:publish did not publish all files needed?
php artisan vendor:publish --provider="Froiden\LaravelInstaller\Providers\LaravelInstallerServiceProvider" Copied File [\vendor\froiden\laravel-installer\src\Config\installer.php] To [\config\installer.php] Copied Directory [\vendor\froiden\laravel-installer\src\assets] To [\public\installer] Copied Directory [\vendor\froiden\laravel-installer\src\Views] To [\resources\views\vendor\installer] Copied Directory [\vendor\froiden\laravel-installer\src\Lang] To [\resources\lang]

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.