Skip to content

dieg0v/sliminit

Repository files navigation

sliminit

Author Latest Version Packagist Version Software License Build Status

Simple slim app for rapid prototype with:

Requirements

  • php >=5.4.0
  • composer
  • gulp
  • bower
  • npm

The following versions of PHP are supported by this version.

  • PHP 5.4
  • PHP 5.5
  • PHP 5.6

Install and run

Via Composer

$ composer create-project dieg0v/sliminit --prefer-dist
$ php -S 0.0.0.0:8889 -t sliminit/public

Done... go to http://localhost:8889

For use gulp, install dependencies via bower and npm modules on sliminit folder:

$ bower install
$ npm install

Js and Css on public/static/js/site.js and public/static/css/main.css are automatically recompressed with:

$ gulp watch

If you want run php built-in server, browsersync and watch js/css/mustache files changes, use default gulp task:

$ gulp

Howto

Manage your pages on app/config/pages.php

Testing

$ php vendor/bin/codecept run

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.