Skip to content
This repository was archived by the owner on Aug 24, 2019. It is now read-only.

AEngine/orchid-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

391 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orchid Core

Orchid is lightweight web application framework. This library attempts to comply with PSR-1, PSR-2, PSR-4 and PSR-11.

Some parts of the project were influenced by: Laravel, Slim and Symfony Framework's. Thank you!

Requirements

  • PHP >= 7.0

Installation

Run the following command in the root directory of your web project:

composer require aengine/orchid

Usage

Create an index.php file with the following contents:

<?php

require_once 'vendor/autoload.php';

$app = app();

$app->router()->get('/hello/:name', function ($request, $response, $args) {
    return "Hello, " . $args['name'];
});

$app->run();

Open your browser on page: http://[hostname]/hello/World

Contributing

Please see CONTRIBUTING for details.

License

The Orchid Framework is licensed under the MIT license. See License File for more information.

Extensions

Memory

Work with Key-Value storage

composer require aengine/orchid-memory

Database

Attach the database in the project by using a wrapper around the PDO

composer require aengine/orchid-database

Filter

Validate incoming data

composer require aengine/orchid-filter

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages