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.
-
Via Composer
composer require ar2labs/wiring
or if you don't have a composer installation:
-
Create a start project:
composer create-project ar2labs/wiring-start
-
Change to the directory created
cd wiring-start/
-
Create
.env
cp .env.example .env
-
Start PHP Built-in web server:
php maker serve
or run with php:
php -S 127.0.0.1:8000 -t public/
-
Open your browser at:
http://127.0.0.1:8000
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
Contribute to this documentation. ;)
Code and documentation copyright (c) 2020, Code released under the BSD-3-Clause license.