Skip to content

Commit bab008e

Browse files
committed
feat: update to new MVC features
1 parent 49801cb commit bab008e

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ compiled
2222
hot
2323
storage/framework
2424
storage/logs
25+
storage/database
26+
storage/cache
2527

2628
# Logs
2729
npm-debug.log

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@
2626
}
2727
],
2828
"require": {
29-
"illuminate/console": "^8.75",
3029
"leafs/blade": "*",
31-
"leafs/mvc-core": "^1.10",
30+
"leafs/mvc-core": "dev-main",
3231
"leafs/leaf": "^3.7",
3332
"leafs/csrf": "*",
3433
"leafs/logger": "*",
@@ -38,7 +37,7 @@
3837
"leafs/vite": "^0.3.0",
3938
"leafs/form": "^3.0",
4039
"leafs/http": "^3.0",
41-
"leafs/aloe": "^2.0"
40+
"leafs/aloe": "v2.x-dev"
4241
},
4342
"require-dev": {
4443
"fakerphp/faker": "^1.16",
@@ -57,6 +56,7 @@
5756
"App\\Utils\\": "app/utils/",
5857
"App\\Events\\": "app/events/",
5958
"App\\Models\\": "app/models/",
59+
"App\\Mailers\\": "app/mailers/",
6060
"App\\Workers\\": "app/workers/",
6161
"App\\Console\\": "app/console/",
6262
"App\\Scripts\\": "app/scripts/",

public/index.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -100,18 +100,6 @@
100100
*/
101101
// \Leaf\Database::initDb();
102102

103-
/*
104-
|--------------------------------------------------------------------------
105-
| Load custom libraries
106-
|--------------------------------------------------------------------------
107-
|
108-
| You can load your custom libraries here. If you have
109-
| anything defined in your lib folder, you can load
110-
| them here. Simply uncomment the line below.
111-
|
112-
*/
113-
// \Leaf\Core::loadLibs();
114-
115103
/*
116104
|--------------------------------------------------------------------------
117105
| Run your Leaf MVC application

0 commit comments

Comments
 (0)