Slim function in php

Slim is a simple powerful PHP 5 framework to create RESTful web applications. The Slim micro framework is a template language whose goal is reduce the syntax to the essential parts without becoming cryptic.

require 'Slim/Slim.php';
Slim::get('/hello/:name', function ($name) {
    echo "Hello $name";

How to install Slim

Published by

Sandeep Verma

I’m an Entrepreneur. I’m proud to work as Blogger, LAMP Programmer, Linux Admin, Web Consultant, Cloud Manager, Apps Developer, Searcher. Concentrate > Observe > Imagine > Launch