drmvc/app

Skeleton of application based on DrMVC Framework

Installs: 20

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:HTML

Type:project

3.0 2018-04-26 07:54 UTC

This package is auto-updated.

Last update: 2022-04-28 22:10:02 UTC


README

Skeleton of application based on DrMVC Framework.

What inside

  • Support for environment variables is implemented through Dotenv\Dotenv class
  • Few dummy classes inside app/Controllers folder
  • Ready for usage TWIG template engine, templates in app/Views
  • Several popular modules added to packages.json
  • gulpfile.js configured to simplify the assembly of static files

How to install

For first need to create new project from the skeleton:

composer create-project drmvc/app application
cd application

For enabling support of gulpfile.js need to install gulp tool

npm install -g gulp

Now need to install dependencies and build static files

npm install
gulp

Let's run the php localhost server

cd public
php -S localhost:8000

Now you can open your web-browser and go to http://localhost:8000

Links