• 20-05-2026, 01:36:41
    #1
    merhaba arkadaşlar
    laraveli kuramıyorum şöyle bir hata alıyorum bide sormak istediğim laraveli hangi localhost bilgisayarıma kurup kullaniyim şimdiden teşekkür ederim sağolun

    laravel : The term 'laravel' is not recognized as the name of a cmdlet, function, script file, or operable program. Che
    ck the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + laravel new example-app
    + ~~~~~~~
    + CategoryInfo : ObjectNotFound: (laravel:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    hata bu izin ver diyor cmd den ama ayarlarını bilmiyorum yardımcı olurmusunuz
  • 20-05-2026, 01:37:28
    #2
    Merhaba, Laravel'i kurma ve hata düzeltme konusunda yardımcı olabilirim. Detaylar için mesaj atmanız yeterlidir.

    ERTET Yazılım olarak; Mobil Uygulama, Web Sitesi ve Tasarım süreçlerinde profesyonel destek sağlamaktayız.
    Güvenilir hizmet ve Kredi Kartına Taksit avantajıyla sizlerin yanınızdayız.

    Flutter, PHP, Laravel, React, Vue, Angular, Node.js, Python, Java, Ruby, Perl, Go, Rust, Swift, Kotlin, Dart, Django, Nest, FastAPI, GraphQL, REST, SOAP, gibi teknolojilerle uygulama geliştirme hizmeti sunuyoruz.

    Projenizi, en gelişmiş teknolojilerle teslim edilir. (Docker, Kubernetes, CI/CD, DevOps, gibi)

    Projeniz için bize ücretsiz ulaşın.
    WhatsApp : 0850 242 65 40 - buraya tıkla
    R10 PM : buraya tıkla
  • 20-05-2026, 01:38:41
    #3
    Mavesentes adlı üyeden alıntı: mesajı görüntüle
    merhaba arkadaşlar
    laraveli kuramıyorum şöyle bir hata alıyorum bide sormak istediğim laraveli hangi localhost bilgisayarıma kurup kullaniyim şimdiden teşekkür ederim sağolun

    laravel : The term 'laravel' is not recognized as the name of a cmdlet, function, script file, or operable program. Che
    ck the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + laravel new example-app
    + ~~~~~~~
    + CategoryInfo : ObjectNotFound: (laravel:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    hata bu izin ver diyor cmd den ama ayarlarını bilmiyorum yardımcı olurmusunuz
    composer global require laravel/installer
    Bu kod ile global kurun bir de composer -V yapın composer olması gerekiyor daha sonra path belirlersiniz.
  • 20-05-2026, 01:44:26
    #4
    Doğrudan Proje Oluşturma
    composer create-project laravel/laravel projeadi
    Laravel Installer Kullanarak
    composer global require laravel/installer
    laravel new projeadi
  • 20-05-2026, 01:59:40
    #5
    böyle hata alıyorum

    PS C:xampphtdocs> composer global require laravel/installer
    Changed current directory to C:/Users/maves/AppData/Roaming/Composer
    ./composer.json has been updated
    Running composer update laravel/installer
    Loading composer repositories with package information
    Updating dependencies
    Nothing to modify in lock file
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 33 installs, 0 updates, 0 removals
    Failed to download doctrine/inflector from dist: The zip extension and unzip/7z commands are both missing, skipping.The php.ini used by your command-line PHP is: C:xamppphpphp.ini
    Now trying to download from source

    In GitDownloader.php line 82:

    git was not found in your PATH, skipping source download


    require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--no-security-blocking] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-m|--minimal-changes] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]

    PS C:xampphtdocs> laravel new example-app
    laravel : The term 'laravel' is not recognized as the name of a cmdlet, function, script file, or operable program. Che
    ck the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + laravel new example-app
    + ~~~~~~~
    + CategoryInfo : ObjectNotFound: (laravel:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    PS C:xampphtdocs> cd
    PS C:xampphtdocs> node_modules/.bin/laravel-echo-server init
    node_modules/.bin/laravel-echo-server : The term 'node_modules/.bin/laravel-echo-server' is not recognized as the name
    of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, ver
    ify that the path is correct and try again.
    At line:1 char:1
    + node_modules/.bin/laravel-echo-server init
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (node_modules/.bin/laravel-echo-server:String) [], CommandNotFoundExcept
    ion
    + FullyQualifiedErrorId : CommandNotFoundException

    PS C:xampphtdocs> python -m pytest
    Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Apps > Advanced app settings > App execution aliases.
    PS C:xampphtdocs> pytest
    pytest : The term 'pytest' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
    the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + pytest
    + ~~~~~~
    + CategoryInfo : ObjectNotFound: (pytest:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    PS C:xampphtdocs> pip install pytest
    pip : The term 'pip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the s
    pelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + pip install pytest
    + ~~~
    + CategoryInfo : ObjectNotFound: (pip:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    PS C:xampphtdocs> composer global require laravel/installer
    Changed current directory to C:/Users/maves/AppData/Roaming/Composer
    ./composer.json has been updated
    Running composer update laravel/installer
    Loading composer repositories with package information
    Updating dependencies
    Nothing to modify in lock file
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 33 installs, 0 updates, 0 removals
    Failed to download doctrine/inflector from dist: The zip extension and unzip/7z commands are both missing, skipping.The php.ini used by your command-line PHP is: C:xamppphpphp.ini
    Now trying to download from source

    In GitDownloader.php line 82:

    git was not found in your PATH, skipping source download


    require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--no-security-blocking] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-m|--minimal-changes] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]

    PS C:xampphtdocs> laravel new example-app
    laravel : The term 'laravel' is not recognized as the name of a cmdlet, function, script file, or operable program. Che
    ck the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + laravel new example-app
    + ~~~~~~~
    + CategoryInfo : ObjectNotFound: (laravel:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    PS C:xampphtdocs> composer global require laravel/installer
    Changed current directory to C:/Users/maves/AppData/Roaming/Composer
    ./composer.json has been updated
    Running composer update laravel/installer
    Loading composer repositories with package information
    Updating dependencies
    Nothing to modify in lock file
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 33 installs, 0 updates, 0 removals
    Failed to download doctrine/inflector from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:xamppphpphp.ini
    Now trying to download from source

    In GitDownloader.php line 82:

    git was not found in your PATH, skipping source download


    require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--no-security-blocking] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-m|--minimal-changes] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]

    PS C:xampphtdocs> laravel new projeadi
    laravel : The term 'laravel' is not recognized as the name of a cmdlet, function, script file, or oper
    able program. Check the spelling of the name, or if a path was included, verify that the path is corre
    ct and try again.
    At line:1 char:1
    + laravel new projeadi
    + ~~~~~~~
    + CategoryInfo : ObjectNotFound: (laravel:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
  • 20-05-2026, 02:23:54
    #6
    CLAUDE CEVABI:


    Hatanın iki temel sebebi var:
    1. PHP'de zip eklentisi kapalı — Composer paketleri zip olarak indiremediği için kaynak koddan (git ile) indirmeye çalışıyor.
    2. Git yüklü değil (veya PATH'te yok) — Kaynak koddan indirme de başarısız oluyor.
    İkisini de çözersen Laravel kurulumu düzgün çalışacak. Sırayla:
    Git'i kur: git-scm.com adresinden Windows için Git'i indir ve kur. Kurulum sırasında "Git from the command line and also from 3rd-party software" seçeneğini seç. Kurulumdan sonra PowerShell'i kapat, yeniden aç.
    PHP zip eklentisini aç: C:xamppphpphp.ini dosyasını bir editörle aç, içinde şu satırı bul:
    ;extension=zip
    Başındaki noktalı virgülü sil, şu hale getir:
    extension=zip
    Kaydet ve PowerShell'i yeniden başlat.
    Sonra tekrar dene:
    powershellcomposer global require laravel/installer
    Kurulum başarılı olduktan sonra laravel komutunun çalışması için Composer'ın global bin klasörünü PATH'e eklemen gerekiyor. PowerShell'de şunu çalıştır:
    powershell$env:Path += ";C:UsersmavesAppDataRoamingComposervendorbin"
    Bunu kalıcı yapmak için Windows ayarlarından Sistem > Gelişmiş sistem ayarları > Ortam Değişkenleri yoluna git ve Path değişkenine C:UsersmavesAppDataRoamingComposervendorbin ekle.
    Bundan sonra laravel new projeadi komutu çalışacaktır.
  • 20-05-2026, 02:52:19
    #7
    Sunucu Çökerse Khve Soğur
    Laraval local için en iyisi laragon hocam. ve ssh için putty
  • 20-05-2026, 08:12:47
    #8
    Selam, önce giti kurmalısın https://git-scm.com/download/win sonrasında composerı ortam değişkenlerinden path olarak eklemelisin. Bunu composerı silip yüklerken add to path seçeneğini işaretleyerekde yapabilirsin. Ama ben bu tarz işler için docker kullanmanızı tavsiye ederim. Xampp laragon vs uğraşılmaz.
  • 20-05-2026, 09:03:35
    #9
    1- Laravel için hatta diğer projelerin içinde Laragon kur en iyisi. Bir kere php sürüm değiştirmek çok kolay. Direk laravel proje kurabiliyorsun. route direk public ayarlıyor.
    2- Kuramadıysan ve istersen üzretsiz bağlanıp yardımcı olurum.