Support the ongoing development of Laravel.io →
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
posted 10 years ago

Routing to undefined routes show blank page with HTTP 200

I am working on localization for my Laravel 4.1 app. I created a route filter to insert the locale t...

0 Likes
1 Replies

how to call php artisan command from route or controller?

I would like to call php artisan command from route or controller, i do like this (test on backup/re...

0 Likes
1 Replies

Get time from created_at column

Hello to every one. I am trying to display the entries which are stored within one hour, How to get...

0 Likes
1 Replies
posted 10 years ago

Re-using a piece of html markup over and over again while its contents change

I have a hard time putting this into words so bear with me please. Let's say I have a webpage that n...

0 Likes
2 Replies
Solved

nested resources in Laravel

Hello, I wanna learn more about nested resources in laravel. I have googled fair a bit, but no tutor...

0 Likes
0 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.

© 2024 Laravel.io - All rights reserved.