Skip to content

Better PHP dev-env init#624

Merged
dhh merged 7 commits into
basecamp:devfrom
c4software:patch-2
Aug 10, 2025
Merged

Better PHP dev-env init#624
dhh merged 7 commits into
basecamp:devfrom
c4software:patch-2

Conversation

@c4software
Copy link
Copy Markdown
Contributor

Split the logic and add Symfony command #599

@ryanrhughes
Copy link
Copy Markdown
Collaborator

Is it worth exploring this at all jdx/mise#4720 (comment) to keep as many dev envs managed by Mise as we can?

@c4software
Copy link
Copy Markdown
Contributor Author

c4software commented Aug 10, 2025

I really don't know. A random guy with a 4 stars repo built-in in the OS, I don't feel it's a good idea.

I prefer using the repo version seems a bit safer (until it's officially available in mise of course)

@dhh dhh merged commit 4b6e896 into basecamp:dev Aug 10, 2025
@dhh
Copy link
Copy Markdown
Member

dhh commented Aug 10, 2025

Symfony doesn't install clean:

==> Starting build()...
go: github.com/Microsoft/go-winio@v0.6.2: Get "https://proxy.golang.org/github.com/%21microsoft/go-winio/@v/v0.6.2.mod": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:52982->[::1]:53: read: connection refused
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: symfony-cli-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
symfony-cli - exit status 4

@dhh
Copy link
Copy Markdown
Member

dhh commented Aug 10, 2025

Also seeing this error when I do laravel new myproject:

image

@c4software
Copy link
Copy Markdown
Contributor Author

Damn we need to enable some extensions let me fix that ASAP.

dhh added a commit to ryanrhughes/omarchy that referenced this pull request Aug 22, 2025
* Extract logic to avoid adding composer in the path multiple times and add Symfony

* Add missing usage

* Use the official script to install Symfony installer

* Use AUR package

* Move PHP and Composer install in function to avoid duplication.

* Add explicit usage for symfony-cli

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
marcinczenko pushed a commit to marcinczenko/omarchy that referenced this pull request Sep 23, 2025
* Extract logic to avoid adding composer in the path multiple times and add Symfony

* Add missing usage

* Use the official script to install Symfony installer

* Use AUR package

* Move PHP and Composer install in function to avoid duplication.

* Add explicit usage for symfony-cli

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
chriopter pushed a commit to chriopter/omarchy that referenced this pull request Nov 18, 2025
* Extract logic to avoid adding composer in the path multiple times and add Symfony

* Add missing usage

* Use the official script to install Symfony installer

* Use AUR package

* Move PHP and Composer install in function to avoid duplication.

* Add explicit usage for symfony-cli

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants