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
Requires
- php: ^7.0
- drmvc/framework: ^3.0.0
- twig/twig: ^2.4
- vlucas/phpdotenv: ^2.4.0
This package is auto-updated.
Last update: 2024-11-29 04:14:36 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