PHP installation¶
$ composer require soluble/japha
$ composer require soluble/japha@2.8.0
$ composer require "soluble/japha@^2.7.0"
For PHP5.6, use the ^1.0.0 version, BC compat with ^2.0.0.
$ composer require "soluble/japha@^1.4.0"
For PHP5.5, use the ^0.13.0 version.
$ composer require "soluble/japha@^0.13.0"
Tip
Once done, jump to the server install step.
Notes¶
If you're not familiar with composer you can jump
to the official install docs,
ensure soluble-japha:^2.0
(or soluble-japha:^1.0
) is present in your project composer.json
file and
run the composer update
command.
Most modern frameworks relies on composer out of the box, if not the case ensure the following file is included in your bootstrap file (index.php, ...):
<?php
// include the composer autoloader
require 'vendor/autoload.php';