Skip to content

Commit 9ea6015

Browse files
Merge pull request #1251 from jitendra-webkul/refactor-code
Installer package and refactor
2 parents a2a64b7 + 0346166 commit 9ea6015

File tree

110 files changed

+2988
-2771
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+2988
-2771
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ APP_KEY=
55
APP_DEBUG=true
66
APP_URL=http://localhost
77
APP_TIMEZONE=Asia/Kolkata
8+
APP_LOCALE=en
89

910
LOG_CHANNEL=stack
1011
LOG_LEVEL=debug

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ Take advantage of two of the hottest frameworks used in this project -- Laravel
5151

5252
- **SERVER**: Apache 2 or NGINX.
5353
- **RAM**: 3 GB or higher.
54-
- **PHP**: 7.4 or higher.
54+
- **PHP**: 8.1 or higher
5555
- **For MySQL users**: 5.7.23 or higher.
5656
- **For MariaDB users**: 10.2.7 or Higher.
5757
- **Node**: 8.11.3 LTS or higher.
58-
- **Composer**: 1.6.5 or higher.
58+
- **Composer**: 2.5 or higher
5959

6060
### Installation and Configuration
6161

app/Http/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Kernel extends HttpKernel
1616
protected $middleware = [
1717
// \App\Http\Middleware\TrustHosts::class,
1818
\App\Http\Middleware\TrustProxies::class,
19-
\Fruitcake\Cors\HandleCors::class,
19+
\Illuminate\Http\Middleware\HandleCors::class,
2020
\App\Http\Middleware\PreventRequestsDuringMaintenance::class,
2121
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
2222
\App\Http\Middleware\TrimStrings::class,

composer.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,30 @@
99
"license": "MIT",
1010
"require": {
1111
"php": "^8.1",
12-
"barryvdh/laravel-dompdf": "^1.0",
13-
"diglactic/laravel-breadcrumbs": "^7.0",
14-
"doctrine/dbal": "^3.1",
15-
"fruitcake/laravel-cors": "^2.0",
12+
"barryvdh/laravel-dompdf": "^2.0.0",
13+
"diglactic/laravel-breadcrumbs": "^8.0",
14+
"doctrine/dbal": "^3.0",
1615
"guzzlehttp/guzzle": "^7.0.1",
1716
"konekt/concord": "^1.10",
1817
"krayin/rest-api": "dev-master",
19-
"laravel/framework": "^9.0",
20-
"laravel/sanctum": "^2.12",
18+
"laravel/framework": "^10.0",
19+
"laravel/sanctum": "^3.2",
2120
"laravel/tinker": "^2.5",
22-
"laravel/ui": "^3.2",
21+
"laravel/ui": "^4.0",
2322
"maatwebsite/excel": "^3.1",
2423
"prettus/l5-repository": "^2.7.9"
2524
},
2625
"require-dev": {
2726
"barryvdh/laravel-debugbar": "^3.6",
28-
"spatie/laravel-ignition": "^1.0",
2927
"fakerphp/faker": "^1.9.1",
3028
"krayin/krayin-package-generator": "dev-master",
3129
"laravel/sail": "^1.0.1",
3230
"mockery/mockery": "^1.4.2",
33-
"nunomaduro/collision": "^6.1",
34-
"pestphp/pest": "^1.21",
35-
"pestphp/pest-plugin-laravel": "^1.1",
36-
"phpunit/phpunit": "^9.3.3"
31+
"nunomaduro/collision": "^7.0",
32+
"pestphp/pest": "^2.6",
33+
"pestphp/pest-plugin-laravel": "^2.1",
34+
"phpunit/phpunit": "^10.0",
35+
"spatie/laravel-ignition": "^2.0"
3736
},
3837
"config": {
3938
"optimize-autoloader": true,
@@ -60,6 +59,7 @@
6059
"Webkul\\Core\\": "packages/Webkul/Core/src",
6160
"Webkul\\Email\\": "packages/Webkul/Email/src",
6261
"Webkul\\EmailTemplate\\": "packages/Webkul/EmailTemplate/src",
62+
"Webkul\\Installer\\": "packages/Webkul/Installer/src",
6363
"Webkul\\Lead\\": "packages/Webkul/Lead/src",
6464
"Webkul\\Product\\": "packages/Webkul/Product/src",
6565
"Webkul\\Quote\\": "packages/Webkul/Quote/src",
@@ -75,7 +75,7 @@
7575
"Tests\\": "tests/"
7676
}
7777
},
78-
"minimum-stability": "dev",
78+
"minimum-stability": "stable",
7979
"prefer-stable": true,
8080
"scripts": {
8181
"post-autoload-dump": [

0 commit comments

Comments
 (0)