Support the ongoing development of Laravel.io →
posted 10 years ago

Laravel eloquent adding IS NULL to DB query

Hi guys! I am running into an issue. For some odd reason Laravel is adding is null to the query. I h...

0 Likes
3 Replies
Solved

database seeding laravel 4.3

use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Run the database se...

0 Likes
2 Replies
posted 10 years ago

Codeception Laravel4 Module amOnRoute does not work on WIndows

I just started writing functional tests and when running the tests on homestead they pass, but when...

0 Likes
4 Replies

Pass variables to View

I´m trying to after save chamada in the function store then show it in the view show. I'm using this...

0 Likes
1 Replies
Solved
posted 10 years ago

Initializing "global" system objects

Hi, I have defined several "global" objects that should be available for every Controller...

0 Likes
2 Replies
posted 10 years ago

Laravel 5 (4.3)

Installed a fresh copy but unable to connect to the homestead database, anyone else had this problem...

0 Likes
0 Replies

link html in laravel problem

Hello Shows me Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException but this link &l...

0 Likes
1 Replies
posted 10 years ago

How to have models within a package

Hi, I've setup a fresh laravel 4.2 install, created a package using the --ressources option (exemple...

0 Likes
4 Replies
posted 10 years ago

How to make a respone with empty cookie?

How to make a respone with empty cookie? even no 'laravel_session' item. In other words the response...

0 Likes
0 Replies

Issues with standard ::create() functionality

Pulling my hair out over this one - Eloquent create only seems to be inserting certain columns Doing...

0 Likes
2 Replies
Solved

eloquent has with where on pivot?

I'm probably being dim but I can't see an example of how to do this. So I have a bunch of users, and...

0 Likes
5 Replies
Solved
posted 10 years ago

Risky functional tests happening from "amOnPage" method being called in Codeception

Can someone tell me why I'm getting a risky test here? It's an auth filtered route, but I've disable...

0 Likes
2 Replies
posted 10 years ago

Working with different environments

Hi Guys, Im wondering how it exactly works with different environments. I changed my environment to...

0 Likes
0 Replies
posted 10 years ago

Is it possible to generate unique and random string easily in Laravel 4?

Is it possible to generate unique and random string easily in Laravel 4? May be some helper function...

0 Likes
5 Replies

lavarel and apache 2 problem

Hello, When I have this config file : <VirtualHost *:80> DocumentRoot /var/www/laravel/pub...

0 Likes
3 Replies
Solved
posted 10 years ago

IoC not using my mocks in test cases

I'm having some issues with testing. I have the testLoginStart method in the unit test here: https:/...

0 Likes
1 Replies
Solved

Multiple conditional joins

So i tried using multiple conditionals on my join but laravel assumes that on join i will be compari...

0 Likes
1 Replies

Inject controller name to layout

Hey guys, I'd like to inject controller and action names automatically to the returned view to add b...

0 Likes
2 Replies
Solved

Run Artisan Migration Commands using Homestead

I'm using Vagrant and Homestead for the my local development work. One thing I'm really trying to fi...

0 Likes
0 Replies
posted 10 years ago

2 queries to 1

Hey guys, How can i optimize this? I dont know how to explain well from dutch to english. With the f...

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