2017 © Pedro Peláez
 

library phalcon-webtools

A more flexible alternative to Phalcon Web Tools provided as a stand alone application. Generates Bootstrap 3 pages.

image

magnxpyr/phalcon-webtools

A more flexible alternative to Phalcon Web Tools provided as a stand alone application. Generates Bootstrap 3 pages.

  • Thursday, June 11, 2015
  • by magnxpyr
  • Repository
  • 3 Watchers
  • 11 Stars
  • 152 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 5 % Grown

The README.md

Phalcon Web Tools

This is a more flexible alternative to Phalcon Web Tools provided as a stand alone application., (*1)

It can be used as a module as long you set up everything., (*2)

travis badge Software License, (*3)

Installation

Via Composer Create-Project

Run this in your terminal to get the latest Composer version:, (*4)

curl -sS https://getcomposer.org/installer | php

Or if you don't have curl:, (*5)

php -r "readfile('https://getcomposer.org/installer');" | php

This installer script will simply check some php.ini settings, warn you if they are set incorrectly, and then download the latest composer.phar in the current directory, (*6)

Then run, (*7)

php composer.phar create-project magnxpyr/phalcon-webtools -s dev

If you have already installed composer, (*8)

composer create-project magnxpyr/phalcon-webtools -s dev

Via Composer json file

Create a composer.json file as follows:, (*9)

{  
    "require": {  
        "magnxpyr/phalcon-webtools": "dev-master"  
    }  
}

Run the composer installer:, (*10)

php composer.phar install

or, (*11)

composer install

Installing via GitHub

Just clone the repository:, (*12)

git clone git@github.com:magnxpyr/phalcon-webtools.git

Set up environment settings

Set up your environment settings in 'app/config/config.php':, (*13)

  • set your database details on 'database'
  • set your base url on 'application > baseUri'
  • set tools config
'tools' => array(
        'copyright' => "", // copyright header for generated files; default empty
        'modulesPath' => '', // path to your modules/app directory; mandatory
        'migrationsPath' => '', // path to migrations directory; mandatory
        'viewsDir' => '', // default Views
        'modulesDir' => '', // default Modules
        'controllersDir' => '', // default Controllers
        'formsDir' => '', // default Forms
        'allow' => '', // IP, default only 127.0.0.1
        'baseController' => [], // default Phalcon\Mvc\Controller
        'baseModel' => [], // default Phalcon\Mvc\Model
        'baseForm' => [], // default Phalcon\Mvc\Model
        'baseModule' => '', // default empty
        'baseRoute' => '' // default empty
    )

Define only what you need and remove/comment the rest., (*14)

If you're fine with the default configuration, define only 'modulesPath' and 'migrationsPath', (*15)

Requirements

To run this application, you need at least: - >= PHP 5.4 - Phalcon 2.0.x - Apache Web Server with mod rewrite enabled, (*16)

Third Party

  • jQuery 1.11.3: https://jquery.org/ (MIT)
  • jQuery UI 1.11.4 https://jqueryui.com/ (MIT)
  • Bootstrap 3 http://getbootstrap.com/ (MIT)

Screenshot

Controller Page, (*17)

The Versions

11/06 2015

dev-master

9999999-dev http://www.magnxpyr.com/

A more flexible alternative to Phalcon Web Tools provided as a stand alone application. Generates Bootstrap 3 pages.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4
  • ext-phalcon >=2.0

 

tools phalcon webtools magnxpyr