insane-tsunami / php-eloquent

A PHP Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A PHP project.

This is a simple project that you can use to store html color codes and their names.

Libraries Used

External APIs

https://www.thecolorapi.com/

How To Use

  • Clone the Repository
  • Create A Database with your preferred details, and run the query contained in db/migrations/colorTable.sql
  • Copy settings.example.php into a file named settings.php and modify the settings with your own database connection details
  • Run composer install to get project dependencies.
  • The routes to the API can be seen in routes.php. You can add, edit, remove, or fetch all colors with a client like POSTMAN.
  • There is an extra route to fetch color details from https://www.thecolorapi.com/

Hint:

Works better if you set up a virtual host for this repo.

About

A PHP Project


Languages

Language:PHP 100.0%