Created
June 4, 2025 09:06
-
-
Save mpociot/1d6809a600701beca4fa544551acd2de to your computer and use it in GitHub Desktop.
OpenAI Codex PHP environment setup for Laravel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/bin/bash -c "$(curl -fsSL https://php.new/install/linux)" | |
export PATH="/root/.config/herd-lite/bin/:$PATH" | |
composer install | |
cp .env.example .env | |
php artisan key:generate | |
php artisan migrate --seed --force -n | |
npm install | |
npm run build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in the web version of codex (which where you use this)
you create an environment at chatgpt.com/codex, and go to its setup configuration. there will be a textarea where you can a write a setup script for the environment. that’s where this goes.
refer to https://dev.to/javiereguiluz/how-to-make-chatgpt-codex-work-with-php-and-symfony-4lj8