ifcanduela / pew-app
Pew-Pew-Pew starter application
Installs: 39
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Language:JavaScript
Requires
- php: >=7.0.0
- ifcanduela/pew: *
README
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.
Kickstart
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
Documentation
Check the online documentation for more.
Migrations
Install Phinx using composer require robmorgan/phinx
. A default setup and a
migration to create an SQLite database with a users
table are included.
Assets
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).
License
MIT.