Support the ongoing development of Laravel.io →
Xtreem Developer

Xtreem Developer

Joined 20 Dec 2017

Statistics

Threads 1
Replies 30
Solutions 0
Articles 0

Define model based on role

How to define model based on role I have a table where I save users. Users can either be a student,...

0 Likes
1 Replies
replied 8 years ago

How to get Image from MS SQL Server Database

You can try this code public function search(Request $request) { $search_value=Input::get('search');...

0 Likes
replied 8 years ago

how to Setup Laravel 5 in Shared Hosting

First, let say in your hosting server (VPS, or shared hosting…whatever), you have current www/ direc...

0 Likes
replied 8 years ago

How to sort out products relating to their categories

You can simply use relationship query like this to bring all products corresponding to the category....

0 Likes
replied 8 years ago

Change DB on fly when a user logged in

Once they are logged in you can always open a new db connection and let them use that. You also don'...

0 Likes
replied 8 years ago

Laravel way to generate Affiliate Referral Tree

This is a bit rough but its something like this: Category.php Model public function products() { ret...

0 Likes

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

Your logo here?

Laravel.io

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

© 2026 Laravel.io - All rights reserved.