TwistPHP Documentation

package

File path: dist/twist/Core/Models/Install.model.php
Namespace: Twist\Core\Models
Extends:

packageInstall a package, this is required before a package can be run by the framework

Parameters

Name Type Description
$dirPackageJSONstringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$dirPackageJSON '/home/user/public_html/twist';

//Call the function package with the example vars
\Twist\Core\Models\Install::package($dirPackageJSON);