php
No long description provided.
Installation
dagger install github.com/jasonmccallister/dagger-php@76af84bb4e44011af21f075b80bf639f10134485Entrypoint
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 |
Example
dagger -m github.com/jasonmccallister/dagger-php@76af84bb4e44011af21f075b80bf639f10134485 call \
func (m *MyModule) Example() *dagger.Php {
return dag.
Php()
}@function
def example() -> dagger.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@76af84bb4e44011af21f075b80bf639f10134485 call \
setupfunc (m *MyModule) Example() *dagger.Container {
return dag.
Php().
Setup()
}@function
def example() -> dagger.Container:
return (
dag.php()
.setup()
)@func()
example(): Container {
return dag
.php()
.setup()
}