Category "laravel"

Synching validations between front-end and back-end projects

What do you do for synching validations between front-end and back-end teams in laravel? I read this post but I would like to know about laravel. I have also se

Vuestic-ui VaCheckbox Component is missing template or render function

I am using it with Laravel 8 and VUEJS 3. Everything works fine except " VaCheckbox " gives this message. " Component is missing template or render function "

Laravel Livewire image upload verification on edit form problem

I have a product page with an image upload form built with Livewire. when i revisit the page to update information, the page will only submit if I also pass thr

Laravel Livewire image upload verification on edit form problem

I have a product page with an image upload form built with Livewire. when i revisit the page to update information, the page will only submit if I also pass thr

Laravel weird issue: query return data with DB::table() but not with model::

I found an issue when delete some data, so I isolated the code Route::get('v1/testapi', function (Request $request) { return [ DB::table('attendances')->

Laravel weird issue: query return data with DB::table() but not with model::

I found an issue when delete some data, so I isolated the code Route::get('v1/testapi', function (Request $request) { return [ DB::table('attendances')->

I'm working at laravel project but there is always that error : ErrorException Creating default object from empty value

this is my candidatController.php the error is in the line before the last line($prev_canditure->etat="archifé";) $candidat_nw=Candidat::orderby('crea

I'm working at laravel project but there is always that error : ErrorException Creating default object from empty value

this is my candidatController.php the error is in the line before the last line($prev_canditure->etat="archifé";) $candidat_nw=Candidat::orderby('crea

How to edit picture on Coudinary with Laravel

Any Idea how to edit pictures on Cloudinary using Laravel API? I did a lot of searches, but I didn't find any references. The add worked successfully, but I did

Laravel Browsershot "node" not found

I got an error by using Browsershot in Laravel 8 (Laravel Code) $content = view('welcome')->render(); return Browsershot::html($content) ->noSandbox(

How to completely control Laravel Excel customValidationMessages output messages?

I am currently using Laravel Excel to import data from an excel file into database. When there are some errors occur, I'd like it to report in a foreign languag

Laravel stripe preview Invoice if the subscription has a scheduled transition

Logic of my subscriptions. If the transition from smaller to larger is smooth, I calculate proportionally. If there was a transition from a higher to a lower ta

Laravel - multiple select query

I want to pull data from two columns in my database table, I'm not very good at querying SQL. When I do this query I get this error: Expression #2 of SELECT lis

Fetch data from database where logged in user id exist in an column that stores ids as an array Laravel 8

I want to get the rows in a database where logged in user exists. Here is my structure Table = Meetings Column = Participants (stores an array of users eg.["1",

Laravel migration: using a native PHP enum

In PHP 8.1, native support for enums were introduced. How can I use them in a Laravel Migration? My first thought would be something like this, but it does not

Laravel mix compile progress stuck (WSL)

I'm not sure if there is an issue here but it's been bothering me for a while. Whenever I'm using Laravel mix the various progress bars never complete and there

why im getting this error Elements in iteration expect to have 'v-bind:key' directives

my code works perfectly but i still didnt manage to find out why am i getting this error message i looked it up and it seems that im missing. And another proble

I have some problems with the Login (Laravel)

I'm doing an application and I need to do a Login. I already do it, and it was working until yesterday, but today it stops work and I don't know why. I was sear

Join columns of Day, Month , Year to calculate age

public function patients_view($id) { $patient = Patients::where('id', '=', $id)->first(); // .... } I just need to view the age. Thanks , im usin

How to configure ngnix, vite and laravel for use with HMR via a reverse proxy?

I've only just got into Laravel/Vue3 so I'm working off the basics. However, I have an existing Docker ecosystem that I use for local dev and an nginx reverse p