2017 © Pedro Peláez
 

library framework

PHP View Components

image

presentation/framework

PHP View Components

  • Friday, February 19, 2016
  • by nayjest
  • Repository
  • 4 Watchers
  • 7 Stars
  • 110 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 1 Forks
  • 14 Open issues
  • 32 Versions
  • 0 % Grown

The README.md

Logo PHP View Components

Flexible Framework-Agnostic UI for Enterprise Web Applications

Release Scrutinizer Code Quality Build Status Code Coverage, (*1)

Project status: alpha since 2016-08-12, (*2)

Have questions? Ask in issue-tracker., (*3)

Table of Contents

Requirements

  • PHP 5.5+ (hhvm & php7 are supported)

Installation

Installing into Existing Project

The recommended way of installing the component is through Composer., (*4)

Run following command from your project folder:, (*5)

composer require view-components/view-components

Installing as Stand-alone Project

For running tests and demo-application bundled with this package on your system you need to install it as stand-alone project., (*6)

composer create-project view-components/view-components

This is the equivalent of doing a git clone followed by a "composer install" of the vendors. Composer will automatically run 'post-create-project-cmd' command and that will call interactive installation., (*7)

If you want to use default settings and run it silently, just add --no-interaction option., (*8)

If you already cloned this repository, or you want to reinstall the package, navigate to the package folder and run composer create-project command without specifying package name., (*9)

If you are sure that you don't need to reinstall composer dependencies, you can execute only bundled installer: composer run post-create-project-cmd, (*10)

This kind of installation has additional requirements: * ext-curl * ext-pdo_sqlite, (*11)

Demo Application

This package bundled with demo-application., (*12)

Souce code of demos available here, (*13)

Working Demo

Travis CI automatically deploys web-application bundled with this package to Heroku., (*14)

Here you can see working demos: http://view-components.herokuapp.com/, (*15)

First run may be slow because Heroku shutting down workers when there is no traffic and starts it again on first visit, (*16)

Running Demo Application Locally

To run it locally, you must install this package as stand-alone project with dev-dependencis., (*17)

Then, run web-server from the package directory with the following command:, (*18)

composer serve

This command uses web-server bundled with PHP., (*19)

Now, open http://localhost:8000 in the browser (for Windows users it will be opened automatically after starting web-server)., (*20)

Documentation

Work in progress. Contributions are extremely welcome!, (*21)

Testing

This application bundled with unit and acceptance tests created with PHPUnit., (*22)

To run tests locally, you must install this package as stand-alone project with dev-dependencies., (*23)

Command for running unit and acceptance tests:, (*24)

composer test

Command for checking code style:, (*25)

composer cs

Contributing

Please see Contributing Guidelines and Code of Conduct for details., (*26)

Security

If you discover any security related issues, please email mail@vitaliy.in instead of using the issue tracker., (*27)

License

© 2014—2016 Vitalii Stepanenko, (*28)

Licensed under the MIT License., (*29)

Please see License File for more information., (*30)

The Versions

24/04 2015

v0.2.1

0.2.1.0 https://github.com/Nayjest/ViewComponents

View Components

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vitalii [Nayjest] Stepanenko

laravel laravel5 laravel-5

24/04 2015

v0.2.0

0.2.0.0 https://github.com/Nayjest/ViewComponents

View Components

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vitalii [Nayjest] Stepanenko

laravel laravel5 laravel-5

22/04 2015

v0.1.0

0.1.0.0 https://github.com/Nayjest/ViewComponents

View Components

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vitalii [Nayjest] Stepanenko

laravel laravel5 laravel-5