2017 © Pedro Peláez
 

library framework

The Pragma Framework

image

pragma-framework/framework

The Pragma Framework

  • Wednesday, May 30, 2018
  • by cyrilrouyer
  • Repository
  • 2 Watchers
  • 2 Stars
  • 30 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 4 Versions
  • 11 % Grown

The README.md

Pragma Framework

Installation

Using composer

$ composer create-project pragma-framework/framework [project-name] dev-master

Using git

$ git clone https://github.com/pragma-framework/framework.git

Dependencies

$ composer install

Alternatively we provide a Makefile for some redundant tasks:, (*1)

$ make vendor

Configuration

Copy the config.default.php to config.php, and edit the DB_* constant values according to your system installation., (*2)

$ make config/config.php
$ $VISUAL config/config.php

Assets management

The assets/ folder isn't in the public/ folder used as the DocumentRoot/root for your Web server., (*3)

The idea is to allow you to work on your source files and only make the compiled version available to the world (e.g: sass -> css, coffee -> js, ...)., (*4)

Hierarchy file structure example:, (*5)

.
[...]
+-- assets
|   +-- images
|   +-- javascripts
|   |   +-- lib
|   |   |   +-- jquery.min.js
|   |   +-- app.js
|   +-- stylesheets
|   |   +-- src
|   |   |   +-- styles.sass
|   |   +-- dist
|   |   |   +-- lib
|   |   |   |   +-- bootstrap.min.css
|   |   |   +-- styles.css
[...]
+-- public

Assuming you have this tree, you can make available the needed assets as follow:, (*6)

$ cd public/
$ mkdir assets/
$ cd assets/
$ ln -s ../../assets/images ./
$ ln -s ../../assets/javascripts ./
$ ln -s ../../assets/stylesheets/dist ./stylesheets

The Versions

30/05 2018

dev-master

9999999-dev

The Pragma Framework

  Sources   Download

MIT

The Requires

 

by Cyril Rouyer

framework pragma

26/06 2017

v1.0.x-dev

1.0.9999999.9999999-dev

The Pragma Framework

  Sources   Download

MIT

The Requires

 

by Cyril Rouyer

framework pragma

26/06 2017

v1.0.1

1.0.1.0

The Pragma Framework

  Sources   Download

MIT

The Requires

 

by Cyril Rouyer

framework pragma

09/11 2016

v1.0.0

1.0.0.0

The Pragma Framework

  Sources   Download

MIT

The Requires

 

by Cyril Rouyer

framework pragma