> For the complete documentation index, see [llms.txt](https://lorvent.gitbook.io/chandra/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lorvent.gitbook.io/chandra/laravel-56.md).

# Laravel 5.6

## 5.6 Installation <a href="#id-56-installation" id="id-56-installation"></a>

The zip file contains all laravel files integrated with josh, however you need to perform following steps to get vendors etc.

### Get Composer packages <a href="#get-composer-packages" id="get-composer-packages"></a>

`composer install`

permissions

```
chmod -R 775 storage

chmod 775 bootstrap/cache
```

If you are on linux/ mac you can run below command to chown it.

```
chown -R www-data /var/www
```

### database credentials <a href="#database-credentials" id="database-credentials"></a>

```
cp .env.example .env
```

open`.env`and modify database details with yours

### Generate Key <a href="#generate-key" id="generate-key"></a>

```
php artisan key:generate
```

### add tables to databaes <a href="#add-tables-to-databaes" id="add-tables-to-databaes"></a>

`php artisan migrate`

### add admin to users table <a href="#add-admin-to-users-table" id="add-admin-to-users-table"></a>

`php artisan db:seed`

### compile assets <a href="#compile-assets" id="compile-assets"></a>

> If you don't have good knowledge on nodejs and npm, you can copy public folder files from codecanyon's downloaded files

**Note :**&#x54;he above step is completely optional , if you are not comfortable with this, you can skip it and perform the below steps, still it works fine.

Make sure you have [nodejs](https://nodejs.org/) installed in your system with minimum version`6.10.0`, and yarn`1.5.1`

you can check installed version by running`node -v`command in terminal.

If you are having older version, please install latest version from [nodejs.org](http://nodejs.org/)

For laravel 5.6 , the minimum version of php required is 7.1.3 and

the following php extensions are rquired

* PHP >= 7.1.3
* OpenSSL PHP Extension
* PDO PHP Extension
* Mbstring PHP Extension
* Tokenizer PHP Extension
* XML PHP Extension
* Ctype PHP Extension
* JSON PHP Extension

install local packages

`yarn install`

move assets to public

`npm run dev`

## Congratulations <a href="#congratulations" id="congratulations"></a>

open your website and now it should be fully working :)

[  <br>](https://lorvent.gitbooks.io/josh/content/starter-kit.html)
