@lucassquadros said in Instalattion. Krayin Documentation:
I'm install laravel crm, but many dependencies are deprecated.
Do you have a new recomendations?
THIS ISS ERROR:
C:\xampp\htdocs>composer create-project krayin/laravel-crm
Creating a "krayin/laravel-crm" project at "./laravel-crm"
Installing krayin/laravel-crm (v1.2.4)
Failed to download krayin/laravel-crm from dist: The zip extension and unzip/7z commands are both missing, skipping.The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
Now trying to download from source
Syncing krayin/laravel-crm (v1.2.4) into cache
Installing krayin/laravel-crm (v1.2.4): Cloning 047292b8f9 from cache
Created project in C:\xampp\htdocs\laravel-crm
@php -r "file_exists('.env') || copy('.env.example', '.env');"
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update or composer update <package name>.
Required package "barryvdh/laravel-dompdf" is in the lock file as "v2.0.0" but that does not satisfy your constraint "^1.0".
This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.
Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md
and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r
C:\xampp\htdocs>php artisan krayin-crm:install
Could not open input file: artisan
C:\xampp\htdocs>code .
C:\xampp\htdocs>cd laravel-crm
C:\xampp\htdocs\laravel-crm>php artisan krayin-crm:install
PHP Warning: require(C:\xampp\htdocs\laravel-crm/vendor/autoload.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\laravel-crm\artisan on line 18
Warning: require(C:\xampp\htdocs\laravel-crm/vendor/autoload.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\laravel-crm\artisan on line 18
PHP Fatal error: Uncaught Error: Failed opening required 'C:\xampp\htdocs\laravel-crm/vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\laravel-crm\artisan:18
Stack trace:
#0 {main}
thrown in C:\xampp\htdocs\laravel-crm\artisan on line 18
Fatal error: Uncaught Error: Failed opening required 'C:\xampp\htdocs\laravel-crm/vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\laravel-crm\artisan:18
Stack trace:
#0 {main}
thrown in C:\xampp\htdocs\laravel-crm\artisan on line 18
C:\xampp\htdocs\laravel-crm>php artisan serve
PHP Warning: require(C:\xampp\htdocs\laravel-crm/vendor/autoload.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\laravel-crm\artisan on line 18
Warning: require(C:\xampp\htdocs\laravel-crm/vendor/autoload.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\laravel-crm\artisan on line 18
PHP Fatal error: Uncaught Error: Failed opening required 'C:\xampp\htdocs\laravel-crm/vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\laravel-crm\artisan:18
Stack trace:
#0 {main}
thrown in C:\xampp\htdocs\laravel-crm\artisan on line 18
Fatal error: Uncaught Error: Failed opening required 'C:\xampp\htdocs\laravel-crm/vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\laravel-crm\artisan:18
Stack trace:
#0 {main}
thrown in C:\xampp\htdocs\laravel-crm\artisan on line 18
C:\xampp\htdocs\laravel-crm>
Please, instructions and help me.
Best Regards,
Lucas Quadros
Hi Lucas,
This error usually happens because Composer did not install the vendor folder. That’s why vendor/autoload.php is missing.
Please try these simple steps:
Make sure zip extension is enabled in php.ini (remove ; from extension=zip).
Restart XAMPP after enabling it.
Go to the project folder:
cd laravel-crm
Run:
composer install
After that, run:
php artisan key:generate
php artisan krayin-crm:install
Also make sure your PHP version matches the CRM requirements.
For now, you can also check other resources while testing things — visit now
Hope this helps 👍