Using PHP Slim Framework -


i want use slim php in project first time. manual says:

install composer in project:  curl -s https://getcomposer.org/installer | php create composer.json file in project root:  {     "require": {         "slim/slim": "2.*"     } } install via composer:  php composer.phar install add line application’s index.php file:  <?php require 'vendor/autoload.php'; 

i'm afraid, don't it. should commands "curl" , "php" used? access webspace through filezilla. how can apply such command?

what steps anyway? sadly, manual not helpful @ all.

see http://www.slimframework.com/install:

manual install download , extract slim framwork project directory , require in application’s index.php file. you’ll need register slim’s autoloader.

<?php require 'slim/slim.php'; \slim\slim::registerautoloader(); 

and there links zip-files.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -