DownloadLaravel 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.x` in `composer.json`
-
Upgrade all other dependency versions
-
Change `app\Exceptions\Handler.php` file to new one
-
Add new files in `Http\Middleware` folder according to new Laravel 8
-
Change auth scaffoldings with `npm`
-
Uncaught ReflectionException: Class env does not exist - `php artisan clear` `php 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 from cache/data/`
Code Upgrade
-
Update Route declaration system according to `8.x`
-
Update some Helper files function like `str_slug()` to `Str::slug()` - https://laravel.com/docs/8.x/helpers#method-str-slug
-
Update some Helper files function like `str_random()` to `Str::random()` - https://laravel.com/docs/8.x/helpers#method-str-random
-
`count()` deprecated issue
-
Auth system updated with frontend sanctum or -
1. Install laravel/ui - `composer require laravel/ui`
2. Install Node JS and npm
3. https://nodejs.org/en/
4. npm install - `npm i`
-
Check if any issues while running the project
Run the beauty Laravel 8.x |