# Laravel 5.4

WARNING

We don't ship Laravel 5.4 files anymore with codecanyon downloadable zip file, so if you need 5.4 version files, you need to get from our git repo.

# Get Composer packages

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

open .env and modify database details with yours

# add tables to databaes

php artisan migrate

# add admin to users table

php artisan db:seed --class=AdminSeeder

# compile assets

Make sure you have nodejs (opens new window) installed in your system with minimum version 6.10.0,

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

If you are having an older version, please install the latest version from nodejs.org (opens new window)

For laravel 5.4, the minimum version of PHP required is 5.6.4 and

the following PHP extensions are required

  • PHP >= 5.6.4
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension

from 5.4 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 (opens new window)

install local packages

yarn install

get bower components

bower install

move assets to public

npm run dev

TIP

If bower throws warning that you are running as administrator, please run the command bower install --allow-root

# Congratulations

open your website and now it should be fully working 😃

Last Updated: 11/15/2024, 11:55:56 AM