Laravel-Ecommerce-Site
Laravel-Ecommerce-Site copied to clipboard
A Complete Ecommerce Site using Laravel PHP Framework 5.6+ [Running and for tutorial]
Laravel Ecommerce
A Complete Ecommerce Website with all of the implementations of Laravel. It's an output of Series tutorial published in youtube.
Upgrade Guide from 5.6 to 8.x
Dependecy Upgrade
- Upgrade Laravel Version
8.xincomposer.json - Upgrade all other dependency versions
- Change
app\Exceptions\Handler.phpfile to new one - Add new files in
Http\Middlewarefolder according to new Laravel 8 - Change auth scaffoldings with
npm - Uncaught ReflectionException: Class env does not exist -
php artisan clearphp artisan config:clear - Class 'Fideloper\Proxy\TrustProxies' not found -
composer require fideloper/proxy - Delete
storage/framework/views/*all files or if possible delete files also fromcache/data/*
Code Upgrade
- Update Route declaration system according to
8.x - Update some Helper files function like
str_slug()toStr::slug()- https://laravel.com/docs/8.x/helpers#method-str-slug - Update some Helper files function like
str_random()toStr::random()- https://laravel.com/docs/8.x/helpers#method-str-random count()deprecated issue- Auth system updated with frontend sanctum or -
- Install laravel/ui -
composer require laravel/ui - Install Node JS and npm
- https://nodejs.org/en/
- npm install -
npm i
- Install laravel/ui -
- Check if any issues while running the project