Skip to content

Commit 4f41a57

Browse files
committed
feat: update all associated modules
1 parent ab8b30d commit 4f41a57

File tree

3 files changed

+31
-14
lines changed

3 files changed

+31
-14
lines changed

README.MD

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<a href="https://packagist.org/packages/leafs/leaf"><img src="https://poser.pugx.org/leafs/mvc/license" alt="License"></a>
1212
</p>
1313

14-
Leaf MVC is a lightweight but feature-rich MVC framework built on top of [leaf php](https://leafphp.dev). It gives you the structure and tools of larger frameworks like Laravel and Ruby on Rails with the simplicity and elegance of Leaf.
14+
Leaf MVC is built on top of [leaf php](https://leafphp.dev), and is the framework for people who just want to ship. It gives you the structure and tools of larger frameworks like Laravel and Ruby on Rails with the simplicity and elegance of Leaf which lets you focus on shipping—fast.
1515

1616
## Setting up
1717

@@ -21,19 +21,17 @@ You can install Leaf MVC with the [Leaf CLI](https://cli.leafphp.dev)
2121
leaf create <project-name> --mvc
2222
```
2323

24-
This will scaffold a basic MVC application and set up your environment for you. You can add features like authentication, database migrations, and more with the Leaf CLI. Find the full documentation on the [Leaf website](https://leafphp.dev/docs/mvc/).
25-
26-
To run your Leaf MVC application, use
24+
This will create an MVC application for you. Start off your project with authentication, mailing, UI/UX, and a ton of other features using Leaf's [powerful modules](https://leafphp.dev/docs/modules/), and then run your app with:
2725

2826
```bash
2927
php leaf serve
3028
```
3129

3230
## Learning Leaf MVC
3331

34-
- Leaf MVC is Leaf + an MVC wrapper, we provide a lot of [documenation](https://leafphp.dev/docs/mvc/) on how to use Leaf MVC.
32+
- Leaf MVC is Leaf + an MVC wrapper, we provide a lot of [documentation](https://leafphp.dev/docs/mvc/) on how to use Leaf MVC.
3533
- You can also check out our [youtube channel](https://www.youtube.com/channel/UCllE-GsYy10RkxBUK0HIffw) which has video tutorials on different topics
36-
<!-- - We are also working on [codelabs](https://codelabs.leafphp.dev) which will bring hands-on tutorials you can follow and contribute to. -->
34+
- Checkout the [learn page](https://leafphp.dev/learn/) on our website for more resources
3735

3836
## Contributing
3937

README2.MD

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,33 @@ Things you may want to cover:
77

88
## App Info
99

10-
Created with Leaf MVC v4 + Leaf v3
10+
Created with Leaf MVC v4 + Leaf v4
1111

1212
## Installation
1313

14+
You can set up your dependencies by running:
15+
16+
```bash
17+
composer install
18+
```
19+
1420
## System dependencies
1521

22+
To run this application, you need to have:
23+
24+
- PHP 7.4 or higher
25+
- Composer
26+
1627
## Configuration
1728

1829
## Database creation
1930

20-
## Database initialization
31+
To create your database, you can run:
32+
33+
```bash
34+
php leaf db:migrate
35+
```
2136

2237
## Deployment instructions
38+
39+
Check out the [Leaf documentation](https://leafphp.dev/learn/deployment/) for more information on how to deploy your Leaf app.

composer.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://getcomposer.org/schema.json",
33
"name": "leafs/mvc",
4-
"description": "A lightweight PHP MVC framework powered by Leaf",
4+
"description": "A lightweight framework for people who just want to ship",
55
"type": "project",
66
"keywords": [
77
"framework",
@@ -10,14 +10,16 @@
1010
],
1111
"license": "MIT",
1212
"require": {
13-
"leafs/blade": "*",
13+
"leafs/blade": "v4.x-dev",
1414
"leafs/mvc-core": "v4.x-dev",
15-
"leafs/leaf": "^3.7",
16-
"leafs/logger": "*",
17-
"leafs/aloe": "v4.x-dev"
15+
"leafs/leaf": "v4.x-dev",
16+
"leafs/logger": "v4.x-dev",
17+
"leafs/aloe": "v4.x-dev",
18+
"leafs/queue": "v4.x-dev",
19+
"leafs/redis": "v4.x-dev"
1820
},
1921
"require-dev": {
20-
"leafs/alchemy": "^2.0",
22+
"leafs/alchemy": "v4.x-dev",
2123
"fakerphp/faker": "^1.24"
2224
},
2325
"autoload": {

0 commit comments

Comments
 (0)