cloudisle/Setup Laravel Environment
Sets up PHP and Node.js for Laravel workflows
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit May 23, 2025
- License
- MIT
Pinned Snippet
uses: cloudisle/setup-laravel@954335efe277733164cc161c05b5da359cd37792 # v1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| php-version | PHP version to set up (e.g., 8.2, 8.3, latest) | no | 8.2 |
| php-version-file | File containing the PHP version to use (e.g., .php-version) | no | "" |
| php-cache | PHP cache | no | composer |
| composer-version | Composer version (i.e. v2, v3) | no | "" |
| composer-file-path | Composer file path | no | composer.json |
| php-extensions | PHP extensions to install (comma-separated, prefix with : to disable) | no | mbstring, xml, curl, zip, pdo, sqlite, mysql, pgsql, bcmath, gd, intl, redis, memcached |
| php-ini-file | Base php.ini file (production, development, none) | no | production |
| php-ini-values | PHP ini values to add (comma-separated) | no | memory_limit=256M, max_execution_time=180 |
| php-coverage | PHP code coverage driver (xdebug, pcov, none) | no | xdebug |
| php-tools | PHP tools to set up (comma-separated) | no | "" |
| node-version | Node.js version to set up (e.g., 18, 20, lts/*) | no | 18 |
| node-version-file | File containing the Node.js version to use (e.g., .nvmrc, .node-version) | no | "" |
| node-check-latest | Check for the latest available version that satisfies the version spec | no | false |
| node-architecture | Target architecture for Node.js to use (x86, x64) | no | "" |
| node-cache | Package manager for caching (npm, yarn, pnpm) | no | npm |
| node-cache-dependency-path | Path to dependency file for caching | no | "" |
| node-registry-url | Registry URL for Node.js package manager | no | "" |
| node-scope | Scope for authenticating against scoped registries | no | "" |
| node-always-auth | Set always-auth option in npmrc file | no | "" |
| install-composer | Install Composer | no | true |
| install-composer-cmd | Composer install command | no | install --no-interaction --prefer-dist --optimize-autoloader |
| install-node | Install Node.js | no | true |
| install-node-cmd | Node install command | no | npm ci |
| copy-env | Copy .env file | no | true |
| generate-key | Generate application key | no | true |
| ziggy | Generate Ziggy routes | no | true |
| node-build | Run npm run build command | no | true |
| node-build-cmd | Node build command | no | npm run build |
Outputs
no outputs