Support the ongoing development of Laravel.io →

laravel repository with eloquent and returning stdClass

somebody knows any good packages for using repositories with factories for returning generic data.

0 Likes
3 Replies
posted 9 years ago

orderBy High Medium Low

Hello, I have a table with priority field which has values 'High', 'Medium' and 'Low'. I need the re...

0 Likes
9 Replies
Solved

Artisan: Command [ serve | optimize | clear-compiled ] is not defined.

I'm having a really weird issue and I just can't figure out what's wrong. I'm runnung Laravel 4.1.29...

0 Likes
1 Replies

Count relationship columns with where

Hi, Im trying to return the project with the todos linked to it. The todo has a status and I'm tryin...

0 Likes
1 Replies

What am I getting an IS NULL added?

here is what I have CONTRACTOR and BID table class Contractor extends Eloquent { public function bid...

0 Likes
1 Replies
posted 9 years ago

How to handle "Domain of sender address [email protected] does not exist" error exception

I want to make this message "Domain of sender address [email protected] does not exist" shows to cl...

0 Likes
1 Replies
Solved
posted 9 years ago

Set individual session data expiry.

Is it possible to do this with laravel's Session class?

0 Likes
0 Replies

Search in encrypted data

Hi, I save my data encrypted into the database with the Crypt class. Is it possible to search into t...

0 Likes
3 Replies
Solved

Validation and Session Variables - Browser Refresh does not reset form

I am trying to understand why posted values persist in a session, even after a browser refresh. I wo...

0 Likes
0 Replies

Homestead require's internet connection on 'up'

Is there a away to make Homestead not require a call to vagrantcloud.com when running offline? Call...

0 Likes
1 Replies
posted 9 years ago

cant redirect to index.php

Hi, hope to get help from you. when I use localhost/lava/public/index.php, the result is correct, I...

0 Likes
2 Replies

Vagrant config doesn't make any sense

Hi, I have set up Vagrant and Ubuntu and set the Local VM IP Address to 192.168.56.101 and the port...

0 Likes
1 Replies

One to Many Relationship

Hi all, i am new to laravel and have a fictional Project to learn: I have two Models: Sports and Tra...

0 Likes
1 Replies
Solved
posted 9 years ago

route optional part

Hi all, I have the route below: Route::get('category/{id}/{year}-{month}-{day}', array('as' => 'c...

0 Likes
2 Replies
Solved
posted 9 years ago

Using ->pagination() on $q = DB::connection('foo')->select("select * from bar")->pagination(5)

In the Laravel docs, pagination is showing working with a single database set up. I use multiple dat...

0 Likes
1 Replies
Solved

How to Protect GET/POST?

i have a get route, function getDetialForm(){ //Here i have to pass 2 value to let function know whi...

0 Likes
1 Replies

Saving logic in a controller using repositories

I have created and included repositories using this tutorial: http://culttt.com/2013/07/08/creating-...

0 Likes
0 Replies

Laravel 4 multi-tenant architecture (SAAS)

Hello, I am starting new project and i am also new on Laravel and i need some suggestion, what is be...

0 Likes
0 Replies

populate a drop-down list from database

Hi, I have 3 model tables: publishers, authors, and books (many-to-one relation between publishers-a...

0 Likes
1 Replies

Model with calculated sql field doesnt paginate

Hi All. I can't get the paginator to work with a calculated SQL field see below for example // this...

0 Likes
3 Replies
Solved

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.