ifcanduela/pew-app

There is no license information available for the latest version (v0.9.0) of this package.

Pew-Pew-Pew starter application

Installs: 39

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Language:JavaScript

v0.9.0 2019-06-24 10:51 UTC

This package is auto-updated.

Last update: 2024-12-18 16:08:08 UTC


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:

  1. npm run watch to compile as you go.
  2. npm run dev to compile a development version of the assets, including source maps.
  3. 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.