Support the ongoing development of Laravel.io →
drc83

drc83

Joined 16 Feb 2015

Statistics

Threads 4
Replies 5
Solutions 0
Articles 0

Using AppServiceProvider to make data available across the whole site?

Hi, I need some data which is accessible across the whole site, so in the AppServiceProvider I have...

Likes Replies

Best practice for making specific data accessible across all controllers

Currently I am working on a multi site platform on Laravel 5. When a user accesses the site, the set...

Likes Replies
Solved

Laravel 5 routes - restricting based on user type

Hi i'm currently using Laravel 5, I currently have the following routes: Route::group(['middl...

Likes Replies
Solved

Help using insertGetId

I have the following query: Product::create($request->all()); which works absolutely fine but...

Likes Replies
Solved
7 years ago

Best practice for making specific data accessible across all controllers

Thanks for all your help. Yep in L5 they got rid of the basecontroller, but exactly as you said simp...

0 Likes
7 years ago

Best practice for making specific data accessible across all controllers

Hi, Thanks, I already actually tried creating a BaseController and adding the following code just to...

0 Likes
7 years ago

Laravel 5 routes - restricting based on user type

willstumpf an absolute legend thanks, so much works perfectly! Really appreciate you help. :)

0 Likes
7 years ago

Help using insertGetId

I didn't know about except this will be handy in the future, and yes I was using the request control...

0 Likes
7 years ago

Help using insertGetId

Firstly thanks for the response. I had another look at this, and basically I am mixing up Eloquent a...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.