Skip to content

alexandergknoll/slim-php-starter

Repository files navigation

Slim PHP Starter

This is a boilerplate starter project featuring:

  • Slim PHP
  • Webpack
  • Twitter Bootstrap
  • Browsersync

Getting started

  1. Run composer install to install PHP dependencies.
  2. Make a copy of the .env.example secrets file and name it .env. Set appropriate values for each value.
  3. Run composer start to start the built-in PHP server and view your site on http://localhost:8000.
  4. Run npm install to install frontend dependencies.
  5. Run npm run dev to start Browsersync and view your site on http://localhost:3000.
  6. Run npm run build to compile frontend assets for production.

Contributing

  • Fork this repo
  • Create a feature branch
  • Commit your changes
  • Push to the branch
  • Create a pull request

About

A boilerplate starter project built on Slim PHP with Webpack, Browsersync and Twitter Bootstrap

Topics

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Contributors