Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<img height="45" src="docs/logo.png" alt="Logo">
</p>

[![Build Status](https://travis-ci.org/utopia-php/framework.svg?branch=master)](https://travis-ci.org/utopia-php/framework)
![Total Downloads](https://img.shields.io/packagist/dt/utopia-php/framework.svg)
[![Build Status](https://travis-ci.org/utopia-php/http.svg?branch=master)](https://travis-ci.org/utopia-php/http)
![Total Downloads](https://img.shields.io/packagist/dt/utopia-php/http.svg)
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord)](https://discord.gg/GSeTUeA)

Utopia Framework is a PHP MVC based framework with minimal must-have features for professional, simple, advanced and secure web development. This library is maintained by the [Appwrite team](https://appwrite.io).
Expand All @@ -14,16 +14,16 @@ Utopia Framework is dependency free. Any extra features such as authentication,

Install using composer:
```bash
composer require utopia-php/framework
composer require utopia-php/http
```

Init your first application:
```php
require_once __DIR__ . '/../../vendor/autoload.php';

use Utopia\App;
use Utopia\Request;
use Utopia\Response;
use Utopia\HTTP\App;
use Utopia\HTTP\Request;
use Utopia\HTTP\Response;

App::get('/hello-world') // Define Route
->inject('request')
Expand Down Expand Up @@ -88,7 +88,7 @@ All code contributions - including those of people having commit access - must g

Fork the project, create a feature branch, and send us a pull request.

You can refer to the [Contributing Guide](https://github.com/utopia-php/framework/blob/master/CONTRIBUTING.md) for more info.
You can refer to the [Contributing Guide](https://github.com/utopia-php/http/blob/master/CONTRIBUTING.md) for more info.

For security issues, please email security@appwrite.io instead of posting a public issue in GitHub.

Expand Down
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "utopia-php/framework",
"description": "A simple, light and advanced PHP framework",
"name": "utopia-php/http",
"description": "A simple, light and advanced PHP framework for building HTTP servers",
"type": "library",
"keywords": ["php","framework", "upf"],
"keywords": ["php","framework", "upf", "http"],
"license": "MIT",
"minimum-stability": "stable",
"authors": [
Expand All @@ -12,12 +12,13 @@
}
],
"autoload": {
"psr-4": {"Utopia\\": "src/"}
"psr-4": {"Utopia\\HTTP\\": "src/"}
},
"require": {
"php": ">=8.0.0"
},
"require-dev": {
"swoole/ide-helper": "4.8.5",
"phpunit/phpunit": "^9.5.10",
"vimeo/psalm": "4.13.1"
}
Expand Down
Loading