@extends('installer::app') @section('title', 'Database Setup') @section('content')
{{ Form::open(['route' => 'installer.envsetup', 'method' => 'POST']) }}

Site Config

Site Name
{{ Form::input('text', 'site_name', 'phpvms', ['class' => 'form-control']) }}
Site URL
{{ Form::input('text', 'site_url', Request::root(), ['class' => 'form-control']) }}

Database Config

Enter the target database information

Database Type

{{ Form::select('db_conn', $db_types, null, ['class' => 'form-control', 'id' => 'db_conn']) }}
Database Host
{{ Form::input('text', 'db_host', '127.0.0.1', ['class' => 'form-control']) }}
Database Port
{{ Form::input('text', 'db_port', '3306', ['class' => 'form-control']) }}
Database Name
{{ Form::input('text', 'db_name', 'phpvms', ['class' => 'form-control']) }}
Database User
{{ Form::input('text', 'db_user', null, ['class' => 'form-control']) }}
Database Password
{{ Form::input('text', 'db_pass', null, ['class' => 'form-control']) }}
{{ Form::submit('Test Database Credentials', ['class' => 'btn btn-info', 'id' => 'dbtest_button']) }}
Database Prefix
{{ Form::input('text', 'db_prefix', '', ['class' => 'form-control']) }}

Set this if you're sharing the database with another application.

{{ Form::submit('Setup Database >>', ['class' => 'btn btn-success']) }}

{{ Form::close() }}
@endsection @section('scripts') @endsection