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
環境チェック
clearCache()  : array<string|int, 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
setupComposerForDistribution()  : void
配布用に composer.json をセットアップする
update()  : array<string|int, mixed>
composer update 実行

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

clearCache()

キャッシュをクリアする

public static clearCache() : array<string|int, mixed>
Return values
array<string|int, mixed>

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
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 $dir = '' ]) : mixed
Parameters
$php : string = ''
$dir : mixed = ''
Tags
throws
Exception
checked
noTodo

setupComposerForDistribution()

配布用に composer.json をセットアップする

public static setupComposerForDistribution(string $packagePath) : void
Parameters
$packagePath : string
Tags
noTodo
checked
unitTest

update()

composer update 実行

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

        
On this page

Search results