GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - farisc0de/API_Framework: A PHP Framework for creating APIs

BranchesTags
Open more actions menu

Latest commit

 

History

31 Commits
31 Commits

Folders and files

NameName
Last commit message
Last commit date
api
api
 
 
example
example
 
 
src/MY_Framework
src/MY_Framework
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
api.sql
api.sql
 
 
composer.json
composer.json
 
 
delete-expired-refresh-tokens.php
delete-expired-refresh-tokens.php
 
 
envfile
envfile
 
 

Repository files navigation

API_Framework

A PHP Framework for creating APIs

PHP Version

This project is created using PHP 8.0+

Coding Standard is PSR-12

Installation

$ composer update
$ composer dump-autoload

Import api.sql to your phpmyadmin

Generate 256-bit key from here allkeysgenerator

Update .env file

The system has 2 authentication methods

  1. JWT Token [token]
  2. API Key [key]

After that just create an account using /register endpoint and POST method

$ httpie post http://localhost/api/register name="Root" username="admin" password="admin"

or

Use the example to create an account

You can reuse the example for any project you want

Enjoy

Example Project

TaskController.php

TaskGateway.php

Are an example project to show how the system work

Also you can reuse the code in it and change it to your specifications

License

MIT

Copyright

2022 - fariscode

About

A PHP Framework for creating APIs

Topics

apiapi-wrapperjwt-authenticationlibraryphpphp8

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.