How can i get resource store route laravel

My Add form code <form method="post" name="m_form" action="{{url('post')}}"> <input type="hidden" name="...
Laravel
38
226

Laravel Roles and permissions

Anybody know how to cache all the databse queries i have posted my problem in...

check comma separated id and fetch matching data

check comma separated id and fetch matching data form database. id format like this 101,102,103...

store 2 out of 3 fields in the database

Hii all,i am trying to solve the logic ,i want to keep 3 fields(license_institution, licences_number and file) non mandatory in the registration but now as per new requirem...

How to listen Laravel Broadcast Notification?

Hello everyone... I read the docs and I think I miss some configuration and I don't know what's the next step. What I've done so far? I install Lara...

Using a policy for mass deletes?

Hi everyone, My application has organizations, users, roles, orders and a lot of other models but these are the ones that matter for this question. So Users are rela...

How to display validation errors of AJAX requests?

AJAX Requests & Validation In this example, we used a traditional form to send data to the application. However, many app...
Laravel
6
260

fetching result from DB

CREATE TABLE sondage ( sondage_id int(11) NOT NULL, sondage_question varchar(255) NOT NULL, Sondage_date_debut datetime...

Laravel 5.7 shopping cart

Hi everyone. What is the best shopping Cart package for laravel 5.7 at the moment? Or is there any tutorials how to creat a nice shopping cart? I have Googled it but no cle...

Show images from storage folder

I have my images stored into storage/app/images and i want to retrieve it. I did something like: <img src="{{ storage_path().'/images/...
Laravel
24
1737

replace passport oauth private and public

If, for whatever reason, I replace Laravel Passport private and public key (e.g. storage/oauth-private.key and storage/oauth-public.key) with a new pair. Will this r...

flarum project

when i clone flarum i just see 3 folder (public,storage and vendor) how can i develop flarum!!؟؟ Where do I find the rest of the files? (for ex controllers...models..and....

Collection::orderBy does not exist on concat

I am trying to get two Models, concat them to a collection, and order them within the concatenation by updated_at, to create an already sorted (by updated_at)...
Laravel
10
71

Laravel website with 1500000 users at the same time

I have to build website with worst scenario there is 150000 users will use the website at same time for 5 hours. All my previous projects don't have this much traffic. Prev...
Laravel
14
223

Use Custom controller class in App Service Provider

Hi, I have to register and use custom controller class in App Service Provider. i.e i have to load user specific configuration based on logged in user. for that i have crea...

Pass variables from controller to model

I need to pass three varables i get in my controller via API and pass it to a model that need to search some criteria. This is my controller public fu...

Mail notification won't send, Mail::Raw will

I have configured my SMTP server correctly in Laravel's env file, and can successfully send an email using Mail::raw e.g. Mail::raw("This is a test message"...

Dynamic Config based on loged in user

I am a very new to laravel, and my app needs to send SMS based on logged in user, each user uses various SMS gateway account or one gateway different account. the user can...

I can't figure out how ResponseFactory::stream() works

Hello, I'm building an on the fly image resizer for my photography boutique. (I know that league/glide does it, but I'm not interested.) Once I got the image path (e...
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