php
No long description provided.
Installation
dagger install github.com/jasonmccallister/dagger-php@59cf8b25990c686fa9da2ea586caeec899e4581e
Entrypoint
Return Type
Php !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
version | String | "8.4" | The version of PHP to install |
extensions | [String ! ] | - | Additional PHP extensions to install |
enableXdebug | Boolean | false | Enable Xdebug for the PHP container |
ubuntuVersion | String | "24.04" | The version of Ubuntu to use |
source | Directory | - | The directory that contains your PHP project. |
Example
dagger -m github.com/jasonmccallister/dagger-php@59cf8b25990c686fa9da2ea586caeec899e4581e call \
func (m *myModule) example() *Php {
return dag.
Php()
}
@function
def example() -> dag.Php:
return (
dag.php()
)
@func()
example(): Php {
return dag
.php()
}
Types
Php 🔗
setup() 🔗
Create a container with PHP and the specified extensions installed
Return Type
Container !
Example
dagger -m github.com/jasonmccallister/dagger-php@59cf8b25990c686fa9da2ea586caeec899e4581e call \
setup
func (m *myModule) example() *Container {
return dag.
Php().
Setup()
}
@function
def example() -> dagger.Container:
return (
dag.php()
.setup()
)
@func()
example(): Container {
return dag
.php()
.setup()
}