Skip to content

caioflavio/phalcon-api-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phalcon-api-boilerplate

Implementação de API REST PHP com Framework Phalcon

User Guide

1 For use this code you need to install cPhalcon in your webserver

2 Add configuration for in your apache vHosts

<VirtualHost *:80>
  ServerAdmin youremail@yourhost.com
  DocumentRoot "PATH_FOR_YOUR_API"
  ServerName www.yourapi.com.br
  ServerAlias www.yourapi.com.br
  ErrorLog "logs/api-error.log"
  CustomLog "logs/api-access.log" combined

  RewriteEngine On

  <Directory "PATH_FOR_YOUR_API">
      Order allow,deny
      Allow from all
      Require all granted
  </Directory>
</VirtualHost>

To Do in Docs

  • Add User Guide
  • Add Running Migrations Guide
  • Add Methods Explanation

To Do in Code

  • Table migrations
  • Add Token authorization
  • Add Middleware Content-type Verification
  • Add Middleware Authorization
  • User ACL

About

Implementação de API REST PHP com Framework Phalcon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages