Skip to content

Commit

Permalink
Version upgrades and README.md update
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanNerd committed May 21, 2021
1 parent bf1e728 commit 6ca4a55
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 13 deletions.
32 changes: 22 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,15 @@ Willow works best as a framework in this situation:

### 📃 Requirements
* PHP 7.4+ (Willow 2.0+)
* PHP 7.2+ (Willow 1.1+)
* PHP 7.2+ (Willow 1.1+) [**No longer supported**]
* MySQL 5.6+ or SQLite3 (Postgres and MSSQL should also work but are untested)
* [Composer](https://getcomposer.org) (For Willow to work best this must be installed globally)

### 💾 Installation
To install Willow version 2.0 run:

```
composer create-project ryannerd/willow:^2 [your-project-name]
cd [your-project-name]
```

To install Willow version 1.1 use these commands:

```
composer create-project ryannerd/willow:^1.1 [your-project-name]
composer create-project --ignore-platform-reqs ryannerd/willow:^2 [your-project-name]
cd [your-project-name]
```

Expand All @@ -53,7 +46,7 @@ php -S localhost:8088 -t public
// Then in your favorite web browser go to: localhost:8088/v1/sample/hello-world
```

The result should look something like this:
The result in your browser should look something like this:

```json
{
Expand Down Expand Up @@ -86,8 +79,27 @@ The result should look something like this:
./willow db:show-columns # list all the columns for a given table
```

### Contributing

Do this:
1. Fork this repo
2. Make changes on your fork
3. Push a PR

Note: the main branch isn't `master` it's `2.x` which is where you want to push your PR.


<div align="center">

Special thanks to:

[The Slim Framework](https://slimframework.com)

[Illuminate / Eloquent ORM](https://github.com/illuminate/database)

<small>
Willow icon made by <a href="https://www.freepik.com/" title="Freepik">Freepik</a>
from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a>
is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a>
</small>
</div>
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@
"php": "^7.4 | ^8.0",
"ext-json": "*",
"ext-pdo": "*",
"doctrine/dbal": "^2.13.1",
"doctrine/dbal": "^3.1.0",
"illuminate/database": "^8.42.1",
"league/climate": "^3.7.0",
"php-di/php-di": "^6.3.3",
"slim/psr7": "^0.5.0",
"slim/psr7": "^1.4.0",
"slim/slim": "^4.8.0",
"twig/twig": "^3.3.2",
"vlucas/phpdotenv": "^5.3"
},
"require-dev": {
"consolidation/robo": "^2.2.2",
"consolidation/robo": "^3.0.3",
"phpunit/phpunit": "^8.5.15"
},
"autoload": {
Expand Down

0 comments on commit 6ca4a55

Please sign in to comment.