Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

PHP templates for openfaas

Versions

There are templates for PHP 5.6 and latest stable version of PHP 7

Usage:

faas-cli template pull https://github.com/itscaro/openfaas-template-php
faas-cli new my-function-in-php7 --lang php5
faas-cli new my-function-in-php7 --lang php

You will find in the newly created directories my-function-in-php5 and my-function-in-php7:

  • src/Handler.php : entrypoint
  • php-extension.sh : is for installing PHP extensions if needed
  • composer.json : is for dependency management

About

PHP templates for OpenFaaS

Resources

Stars

18 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages