Invoice Ninja Setup

@if (version_compare(phpversion(), '7.0.0', '<'))
Warning: The application requires PHP >= 7.0.0
@endif @if (!function_exists('proc_open'))
Warning: proc_open must be enabled.
@endif @if (!@fopen(base_path()."/.env", 'a'))
Warning: Permission denied to write .env config file
sudo chown www-data:www-data {{ base_path('.env') }}
@endif If you need help you can either post to our support forum or email us at contact@invoiceninja.com. @if (! env('PRECONFIGURED_INSTALL'))

-- 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;

@endif
{!! Former::open()->rules([ 'app[url]' => 'required', 'database[type][host]' => 'required', 'database[type][database]' => 'required', 'database[type][username]' => 'required', 'first_name' => 'required', 'last_name' => 'required', 'email' => 'required|email', 'password' => 'required', 'terms_checkbox' => 'required', 'privacy_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').'']))->value(1) !!} {!! Former::checkbox('privacy_checkbox')->label(' ')->text(trans('texts.agree_to_terms', ['terms' => ''.trans('texts.privacy_policy').'']))->value(1) !!} {!! Former::actions( Button::primary('Submit')->large()->submit() ) !!} {!! Former::close() !!}