Category : github

At the moment I wanted to make multiple settings page e.g: – General Preferences System Preferences I have been recommended to use the Spatie/Laravel-Settings package and also have viewed the package at Github page. My questions is, it is easy to implement the package inside the project? Sourc..

Read more

I published a project on github. Now in the projets directory Im cloning the projet with the command git url.git, and it works. Then I run npm install, composer install and it works. But then when I run php artisan migrate:fresh –seed it shows this error: ************************************** * Application In Production! * ************************************** Do you ..

Read more

This problem happened after I installed composer to complete installing laravel environment, when i wrote in git bash : composer global require laravel/installer, the output was :curl error 56 while downloading https://repo.packagist.org/packages.json: Recv failure. Can i solve this issue please? Sourc..

Read more

I installed the Laravel app for DirectAdmin and I uploaded my project to the server but when I view it on my domain, I get an error message saying: ERRORLOG [12:41:39] LOG.error: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘captaina_slotsystem.events’ doesn’t exist (SQL: select * from `events` where `endEvent` > 2021-10-18 12:41:39 and ..

Read more

Im currently configuring a CI pipe for my laravel project via github actions. This is my build.yml file # GitHub Action for Laravel with MySQL and Redis name: API on: [push, pull_request] jobs: laravel: name: Laravel (PHP ${{ matrix.php-versions }}) runs-on: ubuntu-latest services: mysql: image: mysql:5.7 env: MYSQL_ROOT_PASSWORD: ‘secret’ MYSQL_DATABASE: ‘content_information_test’ MYSQL_USER: ‘homestead’ MYSQL_PASSWORD: ‘secret’ ..

Read more

I have an application that ueses Laravel as backend and React as frontend The two applications are stored in separate repositories. In local enviroment I serve the Laravel application with "php artisan:serve" and the React application with "npm run start". The two applications communicates with each others through POST/GET APIs. Now I want to create ..

Read more

Hi I have a conflict CONFLICT (rename/delete) in my repo.. yesterday I have deleted a migration file from master branch which is not present either any of other feature branches, but when I try to push my develop it returns the CONFLICT (rename/delete) error .. the conflict isn’t in the content.. because it is a ..

Read more

I turned on Github dependabot and it has listed security vulnerabilities. I was told to use composer update package/laravel. I did this on my localhost and it says that there is nothing to modify in the lock file. I am using Visual Studio Code and it is not showing anything has been updated. I am ..

Read more