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
Post a Comment