2017 © Pedro Peláez
 

library skeleton

Skeleton application for Bluz, a lightweight PHP framework

image

bluzphp/skeleton

Skeleton application for Bluz, a lightweight PHP framework

  • Friday, November 24, 2017
  • by bluzphp
  • Repository
  • 20 Watchers
  • 38 Stars
  • 1,368 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 31 Forks
  • 10 Open issues
  • 46 Versions
  • 0 % Grown

The README.md

Bluz, a lightweight PHP Framework

Easy to setup, easy to use. Skeleton application, (*1)

Gitter, (*2)

Achievements

PHP >= 7.3+, (*3)

Latest Stable Version, (*4)

Build Status, (*5)

Scrutinizer Code Quality, (*6)

Coverage Status, (*7)

Total Downloads, (*8)

License, (*9)

Installation

Bluz works with PHP 7.0 or later and MySQL 5.4 or later (please check requirements), (*10)

I.a. From composer

Download composer.phar, it's easy:, (*11)

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

Run create-project command (replace %path% ;):, (*12)

php composer.phar create-project bluzphp/skeleton %path% --stability=dev

I.b. From repository

Get Bluz skeleton source files from GitHub repository:, (*13)

git clone git://github.com/bluzphp/skeleton.git %path%

Download composer.phar to the project folder:, (*14)

cd %path%
curl -s https://getcomposer.org/installer | php

Install composer dependencies with the following command:, (*15)

php composer.phar install

I.c. With PhpStorm

For install you need any web-server (for Windows) and PhpStorm. dows) и PhpStorm., (*16)

Create project in PhpStorm:, (*17)

  1. File -> New project;
  2. Set the project name and location;
  3. In a Project type field choose Composer project;
  4. Check that radiobutton is set opposite "Download composer.phar from getcomposer.org", type in a search field "bluzphp/skeleton", select this package in Available packages window and click OK.
  5. After that file composer.phar and all dependencies will be loaded.

II. Configuration

Edit your configuration's files /path/to/application/configs/dev/*.php (configuration for development environment)., (*18)

I think you need to change only db.php for first run, (*19)

III. Setup database

To run the migrations, execute the command:, (*20)

/path/to/vendor/bin/bluzman db:migrate

To fill database with data example, execute the command:, (*21)

/path/to/vendor/bin/bluzman db:seed:run

IV.a. Run built-in web-server

You can run internal PHP web-server with simple console tool:, (*22)

/path/to/vendor/bin/bluzman server:start --host[="..."] --port[="..."]

IV.b. Use Apache

Or create symlink to Apache document root (required FollowSymlinks option):, (*23)

# for Linux
ln -s /path/to/public /path/to/web
# for Windows
mklink /D /path/to/web path/to/public

Usage

You can create models, controllers and views with Bluzman console tool, or following old school style:, (*24)

Model

Model consists from two classes Table and Row:, (*25)

<?php
namespace Application\Users;
class Table extends \Bluz\Db\Table
{
    protected $table = 'users';
    protected $primary = ['id'];
}
 Users\Table::findRow($id)
    ];
};
```

### View
View is native:
```php

=$user->login?></h2>

Documentation

Demo

License

The project is developed by NIX PHP team and distributed under MIT LICENSE, (*26)

NIX has OEM License of Redactor. Full text of Redactor License you can read at http://imperavi.com/redactor/license/, (*27)

Vendors

The Versions

24/11 2017

dev-master

9999999-dev

Skeleton application for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

24/11 2017

7.7.1

7.7.1.0

Skeleton application for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

29/03 2017
28/03 2017
16/02 2017

7.2.0

7.2.0.0

Skeleton application for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

21/12 2016

7.1.0

7.1.0.0

Skeleton application for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

06/12 2016

7.0.4

7.0.4.0

Skeleton application for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

25/11 2016

7.0.3

7.0.3.0

Skeleton application for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

08/09 2016

7.0.2

7.0.2.0

Skeleton application for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

15/06 2016

7.0.0

7.0.0.0

Skeleton application for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

12/02 2016

2.0.2

2.0.2.0

Skeleton application for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

21/05 2014

0.3.7

0.3.7.0

Skeleton for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anton Shevchuk
by Eugene Zabolotniy
by Maks Slesarenko

15/05 2014

0.3.6

0.3.6.0

Skeleton for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anton Shevchuk
by Eugene Zabolotniy
by Maks Slesarenko

06/05 2014

0.3.5

0.3.5.0

Skeleton for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anton Shevchuk
by Eugene Zabolotniy
by Maks Slesarenko

16/04 2014

0.3.4

0.3.4.0

Skeleton for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anton Shevchuk
by Eugene Zabolotniy
by Maks Slesarenko

16/04 2014

0.3.3

0.3.3.0

Skeleton for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anton Shevchuk
by Eugene Zabolotniy
by Maks Slesarenko

31/03 2014

0.3.2

0.3.2.0

Skeleton for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anton Shevchuk
by Eugene Zabolotniy
by Maks Slesarenko

27/12 2013

0.2.6

0.2.6.0

Skeleton for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anton Shevchuk
by Eugene Zabolotniy
by Maks Slesarenko

05/11 2013

0.2.3

0.2.3.0

Skeleton for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anton Shevchuk
by Eugene Zabolotniy
by Maks Slesarenko

29/10 2013

0.2.1

0.2.1.0

Skeleton for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anton Shevchuk
by Eugene Zabolotniy
by Maks Slesarenko

13/03 2013

0.1.0

0.1.0.0

Skeleton for Bluz, a lightweight PHP framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anton Shevchuk
by Eugene Zabolotniy
by Maks Slesarenko