2017 © Pedro Peláez
 

library field

Field provider

image

williamespindola/field

Field provider

  • Wednesday, September 23, 2015
  • by williamespindola
  • Repository
  • 2 Watchers
  • 3 Stars
  • 318 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 6 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

Field

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Total Downloads][ico-downloads], (*1)

Field is a blueprint to work as a CMS inspired on cockpit. Via command line you can create fields for your partials and consume in your project using Repository, Services or Extensions., (*2)

Features

  • Mult language database schema
  • Collection of fields
  • Options of fields
  • CLI interface
  • Services, Repositories and Storage
  • Doctrine and Relational suport (cli only work with relational see issue #27)

Example

You can create Languages, Collections, Fields and Options. Here some examples:, (*3)

php vendor/bin/field create Language en_EN English

php vendor/bin/field create Collection header Header en_EN

php vendor/bin/field create Field about "About text" en_EN html
php vendor/bin/field create Field meta-keys Metakeys en_EN text header
php vendor/bin/field create Field contact Contact en_EN text

php vendor/bin/field create Option Girl contact en_EN
php vendor/bin/field create Option Boy contact en_EN

Now you can use some repository or services to consume, or implement the storage as you need and white you own repository and services. Example!, (*4)

use WilliamEspindola\Field\Storage\ORM\Doctrine;
use WilliamEspindola\Field\Repository\FieldRepository;

$doctrineStorage    = new Doctrine(/** doctrine setup */); // you can uss orther ORM as you want
$repository         = new FieldRepository($doctrineStorage);

$repository->findAll()

Checkout the docs on wiki!, (*5)

Install

Via Composer, (*6)

``` bash $ composer require williamespindola/field, (*7)


## Usage ``` bash php vendor/bin/field

See all documentation on Wiki, (*8)

Change log

Please see CHANGELOG for more information what has changed recently., (*9)

Testing

bash $ composer test, (*10)

Contributing

Please see CONTRIBUTING for details., (*11)

Security

If you discover any security related issues, please email oi@williamespindola.com.br instead of using the issue tracker., (*12)

Credits

License

The BSD License (BSD). Please see License File for more information., (*13)

The Versions

23/09 2015
23/09 2015

v0.3.3

0.3.3.0 https://github.com/williamespindola/field

Field provider

  Sources   Download

BDS-3-Clause

The Requires

 

The Development Requires

console cms field

22/09 2015

v0.3.2

0.3.2.0 https://github.com/williamespindola/field

Field provider

  Sources   Download

BDS-3-Clause

The Requires

 

The Development Requires

console cms field

18/09 2015

v0.3.1

0.3.1.0 https://github.com/williamespindola/field

Field provider

  Sources   Download

BDS-3-Clause

The Requires

 

The Development Requires

console cms field

18/09 2015

v0.3.0

0.3.0.0 https://github.com/williamespindola/field

Field provider

  Sources   Download

BDS-3-Clause

The Requires

 

The Development Requires

console cms field

09/09 2015

v0.2.0

0.2.0.0 https://github.com/williamespindola/field

Field provider

  Sources   Download

BDS-3-Clause

The Requires

 

The Development Requires

console cms field

25/08 2015
14/07 2015