PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Cauê Santana   PHP RESTful API   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP RESTful API
API application that uses the MVC design pattern
Author: By
Last change:
Date: Yesterday
Size: 1,972 bytes
 

Contents

Class file image Download

Pure PHP Restful API ?

> The Pure PHP Restful API is a lightweight and efficient framework designed to facilitate the development of RESTful APIs using PHP. Its primary purpose is to streamline the process of creating web services that can handle various HTTP methods, allowing developers to easily manage data and interact with client applications.

Authors ?

  • For more information see my blog and my contributions to community. - dantsec

Tech Stack ???

  • This project was developed with the following technologies: - PHP (Main Language)

Documents ?

Installation / Run Locally ??

  • Important: First of all, you must have PHP and a server like APACHE installed;
#
# Put the project into the server folder (e.g.: `public_html`, `/var/www/html`)
#

#
# Setup your database and start your server
#
# e.g.:
sudo systemctl start xampp

#
# Copy .env.example and configure it
#
cp config/.env.example .env

#
# Go to: <PROTOCOL>://<HOST>:<PORT>/<PROJECT_PATH>/public
#
# e.g.:
brave http://localhost:8080/php-restful-api/public/

Todo List ?

  • Priority (1) - [ ] "Universalize" `{id}` field in `Core/Core.php` line 32. - [ ] Improve file security on `.htaccess`. - [ ] Make migrations.
  • Priority (2) - [ ] Make it full MVC (implementing _view_ like laravel <3)

Contributing ??

# Create a fork from the original repository and clone it.
git clone https://github.com/dantsec/php-restful-api.git
# Enter into the project folder.
cd php-restful-api/
# Create a new branch with the name feat-[BRANCH_NAME].
git checkout -b feat-[BRANCH_NAME]
# Make your changes and commit them.
git add . && git commit -m "YOUR_COMMIT_MESSAGE"
# Push your branch and open a pull request.
git push origin feat-[BRANCH_NAME]