As the title suggests, i'm trying to update a hasMany() relationship. I have a Contacts and a ContactsProperties model in my application. Contacts can have man
I'm having an issue in a Laravel Zero project I'm working on. I'm working on a command that handles direct file transfers between 2 disks—1 SFTP and anoth
Actual Error Message is Argument 1 passed to Symfony\Component\VarDumper\Server\Connection::__const ruct() must be of the type string, null
Too few arguments to function Illuminate\Routing\PendingResourceRegistration::name(), 1 passed in C:\xampp\htdocs\project\routes\web.php on line 18 and exactly
I want to get a csrf token from another web's form. I've tried to get that token with cUrl. I guess that was success, but I think the real problem is that anoth
I have some trouble connecting to PHPMyAdmin. So I always get the following message. SQLSTATE[HY000] [2002] No such file or directory I looked for a solution
I am trying to upload an image with react native front end and axios to my back end. This is how pic the image const pickImage = async () => { let result
Laravel: 9.2Mac OS: 12.3.1Docker Desktop: 4.5.0 I have installed a default Laravel project using sail. My docker-compose.yml file includes the following: mysql:
I'm trying to build a PWA with NuxtJS and Laravel is in the backend for the API. I use Laravel Sanctum for API auth and also I have NuxtJS auth module, I can lo
I'm using Laravel Livewire with bootstrap 4. I'm trying to use pagination but the links aren't displaying at the bottom of the table. I don't think the issue is
I have an existing Laravel project which I created with the following command. curl -s https://laravel.build/example-app | bash The project was created success
I want to add a custom message on date_format validation in laravel but conldn't find any thing.How i can add a custom message I have used this $messages = [ 'p
When I worked on laravel local development server php artisan storage:link works fine for me. But when I transfer my site to production server then I saw my pub
I have performed a fresh install of Laravel Jetstream. Upon completing all the steps outlined in the Jetstream (Inertia) set up process, the project starts up f
I'm trying to modify models after creating them with Factory. I have defined configure() method and within it what I want changed within the model. However, Lar
I'm trying to print {{$day->date}} in a view. Instead of full date YYYY-MM-DD the property only returns year YYYY. Can anyone explain me why it is working li
I create Laravel PHP application in Docker. First I setup Laravel app using laravel new laravelDockerApp it creates successfully.I verify
With laravel 7 /livewire app I make crud using Repository and I got listing of data ok, In mount event I assign protected var $FacilityRepository , which works
I am doing an Ajax login for my Laravel application. I am using Angular: $http({ method: 'POST', url: '/admin/login', headers: { 'Content-Type': '
I have a migration on Laravel for table pasien like this : public function up() { Schema::create('pasien', function (Blueprint $table) { $table->