PHExpress is a lightweight and flexible API framework built using PHP. It provides a simple and easy-to-use interface for creating RESTful APIs that can be used for a variety of applications.
https://www.youtube.com/watch?v=8A3VOPhtLcQ&list=PLsxTL3Cm1DEoS2KHMWouKhu_VCfm7EdB7&index=1
To get started with PHExpress, follow these steps:
Install PHExpress: PHExpress can be installed using Composer, the PHP package manager. Simply run composer create-project phexpress/phexpress <project_name>
to create a new PHExpress project.
Create a new PHP file: Create a new PHP file in your project directory and include the following code:
<?php
$app = new phexpress();
$app->setParent("student");
$app->get("/get", function($req,$res){
// this line will response with all the list of students with status code 200
$res->send(200,getTable("students"));
});
?>
For more information on how to use PHExpress, please refer to the [documentation](link to documntation).
If you would like to contribute to PHExpress, please fork the repository and submit a pull request. We welcome contributions from the community and appreciate any feedback or suggestions.
PHExpress is licensed under the [MIT License](licence will be here).