alexlegard alexlegard
1
I'm a beginner Laravel developer with a portfolio website. On there, I have two Laravel projects which I would like to show to employers. They're a little old (8 months and 2 years respectively). I also have them on Github, and on there, Dependabot...
FallonLaelia FallonLaelia
0
Hi everybody! I have a small problem, that is not being able to play the radio program....
bhojkamal bhojkamal
2
Hello, I got error on my Laravel 8 and Vue 3 application while running npm run watch. If I remove v-model on input, there is no error but when I use v-model="user.name" on input, the error comes. However, I have another form for crud operat...
Sadon Sadon
0
I am using livewire to inline edit the table data. @foreach($tags as $index => $tag) <form> <input type="hidden" name="id" wire:model=&q...
dmcglone27 dmcglone27
20
When I disable debugging, use except on the meetings resource and visit the URL (dashboard/meetings) to make sure it doesn't work, I get a '405 method not allowed'. When I enable debugging, I get "The GET method is not supported for this route....
christogonus christogonus
1
I have a loaded relationship data as seen below, "id": 1, "tracking_number": "11223344", "status": "IN TRANSIT", "created_at": "2021-05-13T11:46:14.000000Z", "updated_at"...
skino skino
5
Has Anyone come across the following error before: The stream or file "/var/www/blog/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied Ive tried using: sudo chown -R 755 blog but no jo...
mohansharma mohansharma
7
How to bind CKEditor value to Laravel livewire component. CKEditor is a type if WYSIWYG editor I am initializing CKEditor like this in my wire view component <div id="editor"></div> but I can't use wire:model to bind its value...
bahamagician bahamagician
1
Hi All, I need to generate a unique alphanumeric string of 17 characters (or less). Can somebody give me direction on how I would accomplish this? My main concern is that it's absolutely unique as we'd be using it for record ID's....
Prido Prido
0
I have a DB transaction. DB::transaction(function() { foreach($products as $product) { $product = Product::find($product->id) ; $product->price = 2; $product->update(); } }) ; I want that If any of the products is updated we fire an event...
shapeshifter shapeshifter
0
Hi Everyone! Im starting with laravel and php and im doing an app that needs to export to one excel the posts in database from user. For this i am using "Maatwebsite\Excel" and i am able to export the records without any issue. Each record...
untymage untymage
1
Even though i set the retry_after to 9000 and put the failed method in the job i get this error 'connections' => [ 'database' => [ 'connection' => 'pgsql', 'driver' => 'database', 'table' =&...
joneyspark joneyspark
1
Hi, I have an array of Depend select box which contains Universities and courses. Each university has its own course. and I have built the course dropdown which depends on the university. I can successfully get university course from server request b...
marouanaf marouanaf
3
Hi, I am working on the project of the Forum in Jeffrey series but I have problems with phpunit command I installed phpunit globally and run composer update but I can't run phpunit command directly It just runs when I use this command php vendor/phpu...
marouanaf marouanaf
2
Hello, I'm trying to use Laravel Enso datatables independently in a Laravel and Vuejs project but I have a problem, I followed the steps here: https://docs.laravel-enso.com/packages/vue-datatable.html#independently But I have this error: ERROR Fa...
marouanaf marouanaf
1
Hi all, hope that you are doing well? I want some ideas about weather or not use foreign keys I read so much approaches about that and there is different opinions I think if you don't use them there will be extra work to do regarding deleting records...
jlrdw replied
Solved
Randy_Johnson Randy_Johnson
1
Hi, I am creating a website but I am not quite sure if I have the database design correctly. https://ibb.co/44n9tCv class Attendance extends Model { use HasFactory; public function classroom() { return $this->hasOne(Classroo...
JohnnyW2001 JohnnyW2001
4
I wish to have a test that checks whether or not an email can be verified successfully. The issue I have is getting my test to visit the link created by verificationUrl() in the VerifyEmail notification. Is there a way I can easily expose this for te...
Benounnas Oussama Benounnas Oussama
1
Hello, i'm facing again the cors error when i'm trying to upload file with axios my cors.php: <?php return [ 'paths' => [], 'allowed_methods' => ['*'], 'allowed_origins' => ['http://localhost:8080'], 'allowed_origins_pa...
nhayder nhayder
1
This is really surprising to me because I validate all my form unique values on my app in this way but it looks like I'm stucked with product update form this is my validation role the $request + $id value is getting returned to update method correct...
tykus replied
Solved
JohnnyW2001 JohnnyW2001
1
Hi all, I'm just adding the ability for a user to change their email address in my app, but I'd like to get them to verify the new address before accepting it on their account. Laravel has the very helpful $user->sendEmailVerificationNotification(...
David Orizu David Orizu
3
Hello please I don't intend on disturbing anyone. As a laravel beginner I'm facing alot of challenges. Please guys I'm having another problem which says "Error Exception Array to string conversion" and this occurs in my Controller. Here's m...
aburany aburany
4
I'm new to Spark, purchased and installed the latest (and greatest?) Spark Next. Using a project based on Jetstream / Livewire, I want to customize the UI above the level the thin documentation provides (changing logo and so); but rather make some c...
MarkP MarkP
0
I have a mailable class that gets run a 2am (America/Los_Angeles). But I'm trying to time the mail to be delivered at 8am (America/Los_Angeles). Here is the code I am using to create the delay. $user = User::find($tracker->user_id);...
orest orest
8
Consider the example where a user wants to start a conversation with another user(s) Also consider that the users table has an attribute named allow_conversations which can be true or false users - id - allow_conversations If John wants to start a...
arashnz arashnz
8
Hello, I want to authenticate a user via EnsureTokenIsValid class described in here https://laravel.com/docs/8.x/middleware#defining-middleware , i added a route and added this class as a Middleware, how can i pass the token (my-secret-token) to that...
yu0307 yu0307
4
Is Laravel even capable of handling microservices? long question short; I was wondering if Laravel Eloquent model can fetch data from a remote API gateway other than a direct database connection setup in the config file, and still maintain the eloque...
jlrdw replied
Solved
mohamadAbdelhady mohamadAbdelhady
3
the query I want to excute in laravel in pure sql SELECT p.id,title,post_content,image_dir,video_dir,p.created_at,first_name,last_name,profile_img FROM users AS u,posts AS p WHERE title like '%mo%' OR post_content like '%mo%' AND user_id=u.id...
jpmg jpmg
14
hello everyone. I have a problem to login in 2 app the I have in my Virtual Machine in DigitalOcean, say that my ip to login in DigitalOcean is 134.209.XXX.XXX and in my var/www I created two directory one is hidroclient and the other one is fotincli...
swapnilnandgave swapnilnandgave
3
I am so excited to learn laravel octane which is announced as stable version 1.0. Is it possible to publish new series of laravel octane?...
chrisgrim chrisgrim
5
I will try to explain this as clearly as possible, but I am struggling. I have a top level model called Scenarios. Then under that I let users create Forecasts which each can belong to the same Recipe and have UnitCases to store case number Scenario....
movepixels movepixels
4
I have a blade email template with embedded header footer images that work fine when sending the email direct from a controller method , so its not an issue with wrong image path. Now I have moved the sending of the email thru a dispatch / job approa...
robjbrain robjbrain
16
I want to be able to display dates in the users local timezone, so if someone submits a comment in the UK at 2pm someone viewing that comment in Italy will see the time showing as 3pm. If the Italian user then submitted a reply 5 minutes later it wou...
grunburg grunburg
2
Hello, while developing API, I noticed that every request has character "x" in front of it. I cant find anything that might cause it. Did I mistakenly added x somewhere and where it might be added, as of it appears on every request. x{...
David Orizu David Orizu
5
Hello guys please I need some help with this laravel error "Method Illuminate\Validation\Validator::validateTime does not exist." This is my Controller public function expectingpost(Request $request) { DB::table('expectings') -...
Create a New Discussion Button