Skip to content

phacman/slim-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slim API

Simple REST API based on Slim Skeleton 4.5.0.

Built image: 46.2MB;

Under the hood

  • Vanilla Alpine 3.18.4
  • NGINX
  • PHP-FPM
  • PHP 8.2.16
  • Slim Skeleton 4.5.0

PHP extension

  • cgi-fcgi, Core, date, filter, hash, intl, json, ldap,
  • libxml, mbstring, pcre, random, readline, Reflection,
  • session, sodium, SPL, standard, xml, zlib

Install

Just run this command to start

make d-up

Endpoints

Execute http-file from http directory

  • index.http: GET: /
  • get.http: GET: /get
  • post.http: POST: /post
  • php.http: GET:
    • php: version, extensions: /php
    • phpinfo(): /php/info
  • users.http: GET:
    • persons list: /users
    • one person: /users/1

Analogs

About

Simple REST API based on Slim Skeleton

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages