Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer install gagal pada versi php 8.x #784

Closed
totoprayogo1916 opened this issue Aug 14, 2023 · 3 comments
Closed

composer install gagal pada versi php 8.x #784

totoprayogo1916 opened this issue Aug 14, 2023 · 3 comments
Assignees
Labels
bug Something isn't working kontributor

Comments

@totoprayogo1916
Copy link
Contributor

Beri keterangan singkat dan jelas mengenai error yang dialami
Tidak bisa install dependency pada versi php 8.x. Belum support pada php 8.x.

Jelaskan langkah sampai terjadinya error
jalankan composer install pada versi php 8

Terangkan secara jelas dan singkat apa yang diharapkan
meski sudah diatur pada

"php": ">=7.4.0",

semestinya bisa jalan pada versi php 8.x tapi nyatanya pluginnya mentok

Lampirkan tangkapan layar untuk menjelaskan masalahnya
image

Informasi tambahan

Tanya Jawab
Versi OpenDK https://github.com/OpenSID/OpenDK/tree/414e78d3c9db8f9eb12435b1e696cb0bf8df1c34
Versi PHP 8.2
System operasi Windows
@totoprayogo1916 totoprayogo1916 added the bug Something isn't working label Aug 14, 2023
@andifahruddinakas andifahruddinakas moved this to Target in OpenDK 2501 Aug 17, 2023
@andifahruddinakas andifahruddinakas added this to the M4 OpenDK 23.09 milestone Aug 17, 2023
@andifahruddinakas andifahruddinakas moved this from Target to Diprioritaskan in OpenDK 2501 Aug 18, 2023
@andifahruddinakas andifahruddinakas removed this from the M4 OpenDK 23.09 milestone Aug 18, 2023
@totoprayogo1916 totoprayogo1916 changed the title gagal composer install pada versi php 8.x composer install gagal pada versi php 8.x Aug 18, 2023
@vickyrolanda vickyrolanda added this to the M1 OpenDK 23.10 milestone Sep 1, 2023
@totoprayogo1916
Copy link
Contributor Author

sudah coba di PHP v8.1 dengan menambahkan config berikut

"platform": {
    "php": "7.4"
}

dependency berhasil diinstall, tapi setelah install muncul error dari laravelnya.
dan coba menjalankan php artisan --version muncul error berikut:
image

dengan kata lain, tidak bisa install di PHP v8.x kecuali upgrade Laravel dan plugin lain.

@andifahruddinakas
Copy link
Member

image

Bisa di upgrade vversi laravel dan packagenya

@andifahruddinakas
Copy link
Member

Sudah diperbaiki melalui PR #846

@github-project-automation github-project-automation bot moved this from Diprioritaskan to Selesai in OpenDK 2501 Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working kontributor
Projects
None yet
Development

No branches or pull requests

3 participants