Skip to content

ar2labs/wiring

Repository files navigation

Wiring

Build Status Quality Gate Status Coverage Status Total Downloads Latest Stable Version License

Wiring is a PHP micro framework core with Interoperability (PSRs).

This package is compliant with PSR-1, PSR-3, PSR-4, PSR-6, PSR-7, PSR-11, PSR-12, PSR-14, PSR-15, PSR-17 and PSR-18.

Package install

  1. Via Composer

    composer require ar2labs/wiring

    or if you don't have a composer installation:

    Get Composer

Quick start project

  1. Create a start project:

    composer create-project ar2labs/wiring-start
  2. Change to the directory created

    cd wiring-start/
  3. Create .env

    cp .env.example .env
  4. Start PHP Built-in web server:

    php maker serve

    or run with php:

    php -S 127.0.0.1:8000 -t public/
  5. Open your browser at:

    http://127.0.0.1:8000

Requirements

The following versions of PHP are supported by this version.

  • PHP 7.2
  • PHP 7.3
  • PHP 7.4

PHP Extension Requirements:

  • CMath
  • Ctype
  • JSON
  • Mbstring
  • OpenSSL
  • PDO
  • Tokenizer
  • XML

Documentation

Contribute to this documentation. ;)

Copyright and license

Code and documentation copyright (c) 2020, Code released under the BSD-3-Clause license.