A PHP 7 framework for simple websites.
The repository hosts the base app to start a Pew project. The core framework can be found at ifcanduela/pew.
You need PHP 7.0 with the mbstring
extension enabled and Composer.
$ composer create-project ifcanduela/pew-app my-project-name
$ cd my-project-name
$ php serve
Check the online documentation for more.
Install Phinx using composer require robmorgan/phinx
. A default setup and a
migration to create an SQLite database with a users
table are included.
To compile assets, install the NPM dependencies with npm install
and run one of the npm scripts:
npm run watch
to compile as you go.npm run dev
to compile a development version of the assets, including source maps.npm run prod
to get a production, minified version of the assets.
The default setup uses Webpack to compile LessCSS and Javascript (with support for VueJS single-file components).
MIT.