BcComposer
in package
BcComposer
Table of Contents
- $cd : string
- cd コマンド
- $composerDir : string
- Composer Dir
- $export : string
- export コマンド
- $php : string
- php パス
- checkComposer() : mixed
- Composer がインストールされているかチェックする
- checkEnv() : mixed
- 環境チェック
- createCommand() : string
- コマンド作成
- execCommand() : array<string|int, mixed>
- コマンド実行
- install() : array<string|int, mixed>
- composer install 実行
- installComposer() : array<string|int, mixed>
- Composer のインストール
- require() : array<string|int, mixed>
- composer require 実行
- selfUpdate() : array<string|int, mixed>
- composer self-update 実行
- setup() : mixed
- Setup
Properties
$cd
cd コマンド
public
static string
$cd
$composerDir
Composer Dir
public
static string
$composerDir
$export
export コマンド
public
static string
$export
$php
php パス
public
static string
$php
= 'php'
Methods
checkComposer()
Composer がインストールされているかチェックする
public
static checkComposer() : mixed
Tags
Return values
mixed —checkEnv()
環境チェック
public
static checkEnv() : mixed
Tags
Return values
mixed —createCommand()
コマンド作成
public
static createCommand(string $command) : string
Parameters
- $command : string
Return values
string —execCommand()
コマンド実行
public
static execCommand(string $command) : array<string|int, mixed>
Parameters
- $command : string
Return values
array<string|int, mixed> —install()
composer install 実行
public
static install() : array<string|int, mixed>
Return values
array<string|int, mixed> —installComposer()
Composer のインストール
public
static installComposer() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —require()
composer require 実行
public
static require(string $package, string $version) : array<string|int, mixed>
Parameters
- $package : string
- $version : string
Tags
Return values
array<string|int, mixed> —selfUpdate()
composer self-update 実行
public
static selfUpdate() : array<string|int, mixed>
Return values
array<string|int, mixed> —setup()
Setup
public
static setup([string $php = '' ]) : mixed
Parameters
- $php : string = ''