Skip to content

Commit 4738bd4

Browse files
author
Kevin Rodd
committed
Release 1.0
0 parents  commit 4738bd4

29 files changed

+3795
-0
lines changed

LICENSE.md

Lines changed: 676 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Laravel Simple Setup
2+
3+
A visual setup routine for Laravel's environment (.env) file. <br>
4+
Change your environment variables as you like in a visual guided wizard and check your Database credentials live during setup wizard.
5+
6+
## Features
7+
- Simple Install Routine for beginner and experts
8+
- Integrated Laravel Basic Auth System Switch (You can turn it on/off during setup)
9+
- Generate new App Key on the fly
10+
- Database Connection Live Testing
11+
- Automatically create database if not exist (No matter if mysql, postgresql or sqlite)
12+
- Disable Database
13+
- Detailled Final Step Overview showing your changes to the env before you submit
14+
- and more!
15+
16+
17+
## Getting Started
18+
19+
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
20+
### Prerequisites
21+
22+
- Laravel 5.6 and up
23+
- PHP >= 7.1.3
24+
- PDO PHP Extension
25+
26+
27+
### Installing
28+
29+
30+
Require this package with composer. It is recommended to only require the package for development.
31+
32+
```shell
33+
composer require rowo/laravel-simple-setup --dev
34+
```
35+
Laravel 5.6 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
36+
37+
38+
## Start Setup
39+
40+
Start your Laravel server with
41+
42+
```shell
43+
php artisan serve
44+
```
45+
46+
and click on 'Start Setup'
47+
48+
49+
## Authors
50+
51+
* **Kevin Rodd** - *Initial work* - [GhostBC](https://github.com/ghostbc)
52+
* **Andreas Wolf** - *Initial work* - [AWolf86](https://github.com/Kappalores)
53+
54+
## License
55+
56+
This project is licensed under the GNU General Public License v3.0 - see the [LICENSE.md](LICENSE.md) file for details

composer.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "rowo/LaravelSimpleSetup",
3+
"description": "A visual setup routine for Laravel's environment (.env) file.",
4+
"type": "library",
5+
"license": "GNU General Public License v3.0",
6+
"authors": [
7+
{
8+
"name": "Kevin Rodd",
9+
"email": "info@voteback.de"
10+
},
11+
{
12+
"name": "Andreas Wolf",
13+
"email": "info@voteback.de"
14+
}
15+
],
16+
"minimum-stability": "beta",
17+
"require": {}
18+
}

phpunit.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit backupGlobals="false"
3+
backupStaticAttributes="false"
4+
colors="true"
5+
convertErrorsToExceptions="true"
6+
convertNoticesToExceptions="true"
7+
convertWarningsToExceptions="true"
8+
processIsolation="false"
9+
stopOnFailure="false"
10+
>
11+
<testsuites>
12+
<testsuite name="Package Test Suite">
13+
<directory suffix=".php">./tests/</directory>
14+
</testsuite>
15+
</testsuites>
16+
</phpunit>
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?php
2+
3+
namespace rowo\LaravelSimpleSetup;
4+
5+
use Illuminate\Support\ServiceProvider;
6+
7+
class LaravelSimpleSetupServiceProdiver extends ServiceProvider
8+
{
9+
/**
10+
* Bootstrap services.
11+
*
12+
* @return void
13+
*/
14+
public function boot()
15+
{
16+
// include __DIR__.'/routes.php';
17+
18+
$this->loadRoutesFrom(__DIR__.'/routes.php');
19+
20+
$this->loadViewsFrom(__DIR__.'/views', 'LaravelSimpleSetup');
21+
}
22+
23+
/**
24+
* Register services.
25+
*
26+
* @return void
27+
*/
28+
public function register()
29+
{
30+
//
31+
$this->app->make('rowo\LaravelSimpleSetup\SetupController');
32+
$this->app->make('rowo\LaravelSimpleSetup\TestDbController');
33+
34+
35+
36+
37+
}
38+
}

0 commit comments

Comments
 (0)