envoyer.io

Uncaught ReflectionException: Class hash does not exist in envoyer deploy

人走茶凉 提交于 2020-07-06 20:39:10
问题 I'm deploying using envoyer as usual. The one caveat is that during my local host development (and while i was switching git branches).. I faced this error: [ReflectionException] Class App\Http\Controllers\Admin\BatchUpdateStoresController does not exist I solved it by clearing the routes cache (see details here). The problem now is that when I deployed on envoyer.. I'm getting this error on the nginx logs: PHP message: PHP Fatal error: Uncaught ReflectionException: Class hash does not exist

Composer install doesn't actually install library

让人想犯罪 __ 提交于 2020-02-04 04:11:11
问题 Problem This is a weird one. I simply added this to my composer.json file: "maatwebsite/excel": "~2.1.0" Yet when I run composer install , that library doesn't get installed: composer show | grep excel returns nothing. And so every time I run my deployment script I get this error: > php artisan clear-compiled PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Class 'PHPExcel_Shared_Font' not found in /Users/Shared/dev/php/toters-api/config/excel.php:182 Stack

Uploading Specific Vendor files with Laravel's Envoyer

本小妞迷上赌 提交于 2019-12-06 23:22:25
问题 I'm trying to upload only specific vendor files to my server using Laravel Forge. The reason is because I've edited the code in some of my dependencies, whats happening now is that certain features of my site are breaking because when I push from Envoyer to my server , Envoyer is grabbing from my GitHub repo. my GitHub repo doesn't contain a vendor directory, as it shouldn't because Iv'e added that directory to my gitignore file /vendor/* /node_modules Homestead.yaml Homestead.json .env I've

Uploading Specific Vendor files with Laravel's Envoyer

给你一囗甜甜゛ 提交于 2019-12-05 03:32:21
I'm trying to upload only specific vendor files to my server using Laravel Forge. The reason is because I've edited the code in some of my dependencies, whats happening now is that certain features of my site are breaking because when I push from Envoyer to my server , Envoyer is grabbing from my GitHub repo. my GitHub repo doesn't contain a vendor directory, as it shouldn't because Iv'e added that directory to my gitignore file /vendor/* /node_modules Homestead.yaml Homestead.json .env I've tried white listing certain folders within the directory like so: /vendor/* /node_modules Homestead