Support the ongoing development of Laravel.io →

Laravel routing - shorten the urls upto only one URI segment.

It is said that shorter the URL, better the seo (atleast my client believes on it). Now am creating...

0 Likes
0 Replies

Query shouldn't be cached

Hi everyone, my problem is: i build a query like " DB::select( DB::raw("SELECT cont_timest...

0 Likes
3 Replies
posted 10 years ago

In the controller to build a test directory under a testController. PHP router how to access

//controllers/test/TestController.php class TestController.php extends BaseController{ public funtio...

0 Likes
0 Replies

Pivot Tables

I've been looking around and have read some of the documentation on the laravel website. I have a us...

0 Likes
8 Replies
Solved
posted 10 years ago
0 Likes
1 Replies
Solved
posted 10 years ago

Can I return an array as a custom attribute in a model?

The next to last code snippet on this page (http://laravel.com/docs/eloquent) shows how to define cu...

0 Likes
1 Replies

Proper Object Model Iteration with variables

Hi all, Fairly new to Laravel, and OOP in general, but have been using it fine for the past few week...

0 Likes
1 Replies
Solved

Laravel PDF with BarCode

Hello guys, I'm working in a kind of shop and will be working in Mexico but I need to create PDF for...

0 Likes
2 Replies
Solved
posted 10 years ago

What am I missing?

For some reason this does not work, can someone please look at this and see what I'm missing? untold...

0 Likes
3 Replies

Problems with table relationships / retrieving data

I have a bulletin system where posts can be made. What I need right now is a way to pull in the name...

0 Likes
0 Replies

How to combine a join with a where clause?

So I'm doing something like this: $ImageCategory = ImageCategory::where('styles.id', '=', $categ...

0 Likes
1 Replies

All-in-one or two independent controllers to achieve different view based on request parameter?

Having a resource controller, there are the default representations of the used models as a website...

0 Likes
0 Replies

Pivot with Parent/Child

Hi, I have a ManyToMany relationship with Listings an Categories class Category extends \Eloquent {...

0 Likes
0 Replies

Cross platform API standalone script

I am working with another developer on my application. He is using raw php and I am using Laravel. H...

0 Likes
0 Replies
posted 10 years ago

Confuse with cookie and seesion

I'm try to set a new cookie but i think it expires in 2 hours because of 'lifetime' => 120, on th...

0 Likes
0 Replies

Undefined variable: error , No POST data when submitting form

I've been following the "Maek an Ecommerce App with Laravel" tutorial from Tuts+ but in th...

0 Likes
3 Replies

Return query of join table as extra json.

Hello Community, Here is my model query : return $this->where('mac_address', $id) ->join($thi...

0 Likes
2 Replies
posted 10 years ago

HTTP DELETE problem

I am implementing a simple RESTful API using Laravel. It works as expected when using "artisan...

0 Likes
2 Replies
posted 10 years ago

Need help installing Laravel (Solved)

Trying to figure out how to install Laravel on a host I have with 1&1 (mainly cause of how chea...

0 Likes
8 Replies

Field name constants

Please forgive any ignorance on my part. Has anyone devised of a more reliable way (in my mind) to...

0 Likes
2 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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.

© 2025 Laravel.io - All rights reserved.