eloquent (using model relations)

Inside my models I use for example often this way: public function notitications() { return $this->hasMany('App\UserNotification'); } public function...

Cannot log in - Session not working in artisan serve but in valet it does

Hey, I don't know why but my session is not working while using php artisan serve --host 0.0.0.0 First I had to remove \App\Http\Middleware\Verify...

Fill form from database

Hi guys, I have a table with many users and each row has an edit button, I then have a edit form on the bottom, I want to fill that form with the information of the user I...

All problems with the new Laracasts design

Is not it better to have them in one place? Some I've seen (threads)...
Feedback
65
1538

How to make Image file from an external url?

Hi, I want to make Image file from an external URL and put it to $_FILES php global array. How can I do it?...

Accessible Index Page is Configured wrong on SEO

Regarding the abc.co beta site we have in test, I did a SEO scan and was told The Accessible Index Page is Configured wrong. Search engines see your...
Lumen
2
294

API to store data of two models

hi all i have external API for loading data, i have job and file models (one to one relationship) i want to create post method to store data from form to database i...

Subdomain Routing and CNAMEs

Hey you beautiful people! I'm trying to create a little laravel app as I learn the framework. This app monitors uptime, and I want it to be accessible via client dom...

How to create a class that will return an array or single item?

I am writing a class that I would like to be able to call later and have it return an array of values but it is returning only one. I would like to be able to use my...

Submit buttons on same line?

I have 2 forms with submit buttons. Update and Delete <!-- Form containing contact info ready for editing --> <div class="container"&g...

Nova Trix field image resize

Any one tried Trix field and upload image. I have problem in image resizing. Any help appreciated....
Nova
1
24

javascript push removing previous item from array

Hi, I have a collection of posts wich I want to group by month of creation (created_at), to do this I'm looping through each post, parsing the date using moments plugin and...

Vue or vuetify video player for embed videos

Is there any vuetify or vue video player for embed videos? I tried using iframe but I get that scrolling problem, I tried removing all mouse events and on hover on p...
Vue
1
32

select only some columns from a nested query

I have a nested query where in addition to what I have now ( and works) I also want to get only some columns from user $users = User::whereHas('contacts'...

Putting text in CKEditor for Laravel 5.6 still says field is required

Hi! I manage to install CKEditor (https://github.com/UniSharp/laravel-cked...

How to fix POST request 419 error? | Laravel 5.7

For two days, there is one problem displayed in my localhost (XAMMPP and OpenServer). Sorry, your session has expired. Please refresh and try again....

Resource controller parameter rename not working (L 5.7.8)

I can't seem to get Named resourceful route parameters working correctly (...

How can I Attach file coming from the public folder?

I am having a problem with attachment of a pdf file. here is my code $pathToFile = This is where I need the path; Mail::send('email.test3', ['name' =&g...
Laravel
8
222

Check Value in Endpoint

Hi to everyone... I'm new in VUE (and in Javascript) ...I will a suggest how do this thing: I have this data() data() { return {...
Vue
0
11
Create a New Discussion Button
Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels