> For the complete documentation index, see [llms.txt](https://lorvent.gitbook.io/clear/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/clear/laravel-version.md).

# Laravel Version

The zip file contains all laravel files integrated with Clear, 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 <a href="#permissions" id="permissions"></a>

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

open`.env`and modify database details with yours

## 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 `7.0.0`,

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.5 , the minimum version of php required is`7.0.0`and

the following php extensions are rquired

* PHP >= 7.0.0
* OpenSSL PHP Extension
* PDO PHP Extension
* Mbstring PHP Extension
* Tokenizer PHP Extension
* XML PHP Extension

from 5.5 onwards, Laravel team decided to move to webpack from gulp

so assets compilation differs a bit.

They introduced a new npm package for webpack called`mix`

you can read more about it [here](https://laravel.com/docs/5.4/mix)

install local packages

`yarn install`

get bower components

`bower install`

move assets to public

`npm run dev`

**Note:**&#x49;f bower gives warning that you are running as administrator, please run the command`bower install --allow-root`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://lorvent.gitbook.io/clear/laravel-version.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
