php-composer-security-checker
No long description provided.
Installation
dagger install github.com/mykiwi/daggerverse/php-composer-security-checker@77bf2f73f5e82ea373e5f31a2963b9f41d077146
Entrypoint
Return Type
PhpComposerSecurityChecker
Example
dagger -m github.com/mykiwi/daggerverse/php-composer-security-checker@77bf2f73f5e82ea373e5f31a2963b9f41d077146 call \
func (m *myModule) example() *PhpComposerSecurityChecker {
return dag.
PhpComposerSecurityChecker()
}
@function
def example() -> dag.PhpComposerSecurityChecker:
return (
dag.php_composer_security_checker()
)
@func()
example(): PhpComposerSecurityChecker {
return dag
.phpComposerSecurityChecker()
}
Types
PhpComposerSecurityChecker 🔗
container() 🔗
Returns a container with composer
Return Type
Container !
Example
dagger -m github.com/mykiwi/daggerverse/php-composer-security-checker@77bf2f73f5e82ea373e5f31a2963b9f41d077146 call \
container
func (m *myModule) example() *Container {
return dag.
PhpComposerSecurityChecker().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.php_composer_security_checker()
.container()
)
@func()
example(): Container {
return dag
.phpComposerSecurityChecker()
.container()
}
binary() 🔗
Returns the composer binary
Return Type
File !
Example
dagger -m github.com/mykiwi/daggerverse/php-composer-security-checker@77bf2f73f5e82ea373e5f31a2963b9f41d077146 call \
binary
func (m *myModule) example() *File {
return dag.
PhpComposerSecurityChecker().
Binary()
}
@function
def example() -> dagger.File:
return (
dag.php_composer_security_checker()
.binary()
)
@func()
example(): File {
return dag
.phpComposerSecurityChecker()
.binary()
}
securityCheck() 🔗
Verify if your PHP dependencies have known security vulnerabilities
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
project | Directory ! | - | No description provided |
noDev | Boolean ! | false | No description provided |
format | String ! | "table" | No description provided |
locked | Boolean ! | true | No description provided |
Example
dagger -m github.com/mykiwi/daggerverse/php-composer-security-checker@77bf2f73f5e82ea373e5f31a2963b9f41d077146 call \
security-check --project DIR_PATH --no-dev boolean --format string --locked boolean
func (m *myModule) example(ctx context.Context, project *Directory, noDev bool, format string, locked bool) string {
return dag.
PhpComposerSecurityChecker().
SecurityCheck(ctx, project, noDev, format, locked)
}
@function
async def example(project: dagger.Directory, no_dev: bool, format: str, locked: bool) -> str:
return await (
dag.php_composer_security_checker()
.security_check(project, no_dev, format, locked)
)
@func()
async example(project: Directory, noDev: boolean, format: string, locked: boolean): Promise<string> {
return dag
.phpComposerSecurityChecker()
.securityCheck(project, noDev, format, locked)
}