Download the PHP package renanhangai/libweb-api without Composer
On this page you can find all versions of the php package renanhangai/libweb-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package libweb-api
libweb\api
Generate REST APIs with ease using slim framework
Will output
Methods
-
mapClass( $base, $class )
Ex:
Will be mapped to
-
mapPath( $base, $dir, $classTemplate )
Every path will be mapped to a file Ex:
When entering to "example.com/test/user/books/data" Will be mapped to
Request
Inherits from \Slim\Http\Request
getValidatedParam( $name, $rule )
-
getValidatedParams( $rules )
getValidatedParamsWithUpload( $rules )
Response
Inherits from \Slim\Http\Response
withFile( $file, $contentType = null )
withString( $buffer, $contentType = null )
withDownload( $file, $filename = null, $contentType = null, $mode = "attachment" )
withDownloadString( $buffer, $filename, $contentType = null, $mode = "attachment" )
withCookie( $key, $value, $options = array() )
withCookies( $cookies, $options = array() )
withJson( $data, $status = null )
withResponse( $data )
All versions of libweb-api with dependencies
PHP Build Version
Package Version
Requires
slim/slim Version
^3.9
violet/streaming-json-encoder Version ^1.1
webmozart/path-util Version ^2.3
phpdocumentor/reflection-docblock Version ^4.3
dflydev/fig-cookies Version ^1.0
violet/streaming-json-encoder Version ^1.1
webmozart/path-util Version ^2.3
phpdocumentor/reflection-docblock Version ^4.3
dflydev/fig-cookies Version ^1.0
The package renanhangai/libweb-api contains the following files
Loading the files please wait ....