baserCMS クラスリファレンス

BcComposer
in package

BcComposer

Table of Contents

Properties

$cd  : string
cd コマンド
$composerDir  : string
Composer Dir
$export  : string
export コマンド
$php  : string
php パス

Methods

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

$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
throws
Exception
checked
noTodo

checkEnv()

環境チェック

public static checkEnv() : mixed
Tags
throws
Exception
checked
noTodo

createCommand()

コマンド作成

public static createCommand(string $command) : string
Parameters
$command : string
Tags
checked
noTodo
Return values
string

execCommand()

コマンド実行

public static execCommand(string $command) : array<string|int, mixed>
Parameters
$command : string
Tags
checked
noTodo
Return values
array<string|int, mixed>

install()

composer install 実行

public static install() : array<string|int, mixed>
Tags
checked
noTodo
Return values
array<string|int, mixed>

installComposer()

Composer のインストール

public static installComposer() : array<string|int, mixed>
Tags
checked
noTodo
unitTest
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
checked
checked
noTodo
Return values
array<string|int, mixed>

selfUpdate()

composer self-update 実行

public static selfUpdate() : array<string|int, mixed>
Tags
checked
noTodo
Return values
array<string|int, mixed>

setup()

Setup

public static setup([string $php = '' ]) : mixed
Parameters
$php : string = ''
Tags
throws
Exception
checked
noTodo

        
On this page

Search results