cloudisle/Setup Laravel Environment

Sets up PHP and Node.js for Laravel workflows

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit May 23, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: cloudisle/setup-laravel@954335efe277733164cc161c05b5da359cd37792 # v1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
php-versionPHP version to set up (e.g., 8.2, 8.3, latest)no8.2
php-version-fileFile containing the PHP version to use (e.g., .php-version)no""
php-cachePHP cachenocomposer
composer-versionComposer version (i.e. v2, v3)no""
composer-file-pathComposer file pathnocomposer.json
php-extensionsPHP extensions to install (comma-separated, prefix with : to disable)nombstring, xml, curl, zip, pdo, sqlite, mysql, pgsql, bcmath, gd, intl, redis, memcached
php-ini-fileBase php.ini file (production, development, none)noproduction
php-ini-valuesPHP ini values to add (comma-separated)nomemory_limit=256M, max_execution_time=180
php-coveragePHP code coverage driver (xdebug, pcov, none)noxdebug
php-toolsPHP tools to set up (comma-separated)no""
node-versionNode.js version to set up (e.g., 18, 20, lts/*)no18
node-version-fileFile containing the Node.js version to use (e.g., .nvmrc, .node-version)no""
node-check-latestCheck for the latest available version that satisfies the version specnofalse
node-architectureTarget architecture for Node.js to use (x86, x64)no""
node-cachePackage manager for caching (npm, yarn, pnpm)nonpm
node-cache-dependency-pathPath to dependency file for cachingno""
node-registry-urlRegistry URL for Node.js package managerno""
node-scopeScope for authenticating against scoped registriesno""
node-always-authSet always-auth option in npmrc fileno""
install-composerInstall Composernotrue
install-composer-cmdComposer install commandnoinstall --no-interaction --prefer-dist --optimize-autoloader
install-nodeInstall Node.jsnotrue
install-node-cmdNode install commandnonpm ci
copy-envCopy .env filenotrue
generate-keyGenerate application keynotrue
ziggyGenerate Ziggy routesnotrue
node-buildRun npm run build commandnotrue
node-build-cmdNode build commandnonpm run build

no outputs