Invoice Ninja Setup
        @if (version_compare(phpversion(), '5.5.9', '<'))
            
Warning: The application requires PHP >= 5.5.9
        @endif
        @if (!function_exists('proc_open'))
            
        @endif
        @if (!@fopen(base_path()."/.env", 'a'))
            
Warning: Permission denied to write .env config file
                
sudo chown www-data:www-data /path/to/ninja/.env
            
        @endif
        If you need help you can either post to our 
support forum with the design you\'re using 
        or email us at 
contact@invoiceninja.com.
        
-- Commands to create a MySQL database and user
CREATE SCHEMA `ninja` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'ninja'@'localhost' IDENTIFIED BY 'ninja';
GRANT ALL PRIVILEGES ON `ninja`.* TO 'ninja'@'localhost';
FLUSH PRIVILEGES;
        
     
    {!! Former::open()->rules([
        'app[url]' => 'required',
        'database[type][host]' => 'required',
        'database[type][database]' => 'required',
        'database[type][username]' => 'required',
        'database[type][password]' => 'required',
        'first_name' => 'required',
        'last_name' => 'required',
        'email' => 'required|email',
        'password' => 'required',
        'terms_checkbox' => 'required'
      ]) !!}
    @include('partials.system_settings')
    
      
        
User Details
      
      
        {!! Former::text('first_name') !!}
        {!! Former::text('last_name') !!}
        {!! Former::text('email') !!}
        {!! Former::password('password') !!}        
      
     
    {!! Former::checkbox('terms_checkbox')->label(' ')->text(trans('texts.agree_to_terms', ['terms' => '
'.trans('texts.terms_of_service').''])) !!}
    {!! Former::actions( Button::primary('Submit')->large()->submit() ) !!}        
    {!! Former::close() !!}