Support the ongoing development of Laravel.io →
jacksoncharles

jacksoncharles

Joined 20 Aug 2014

Statistics

Threads 3
Replies 79
Solutions 7
Articles 0
posted 10 years ago

Convert SQL to eloquent

Eloquent is driving me mad :-( I need to convert the following SQL to Eloquent. Ideally I want to us...

0 Likes
0 Replies
posted 10 years ago

Nested data in form select

I have a model relationship, user belongsToMany roles. When updating a user I want to set the value...

0 Likes
0 Replies
posted 10 years ago

Using illuminate/HTML inside a package

I'm trying to develop a full stack L5 package and need to include/use illuminate/html and create a f...

0 Likes
2 Replies
Solved
replied 10 years ago

Export data to excel

I use the same package, can you post your code?

0 Likes
replied 10 years ago

How do I set & get cookie for current request?

// controller Cookie::queue('ref', (int)Request::Input('ref')); $view = View::make('blog', $data);...

0 Likes
replied 10 years ago

Built-in way to load a partial page/template using Ajax while not reloading the rest of the page?

There is no "clever" way, a simple ajax call to a controller method that returns your HTML...

0 Likes
replied 10 years ago

Incorrect namespaces

Inside your controller add the line use App\ExampleModel;

0 Likes
replied 10 years ago

How to revive data from database for master view like app.blade.php

Inside the controller/action and passed to the view like any other view variable.

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.