Support the ongoing development of Laravel.io →
shez1983

shez1983

Joined 31 Dec 2014

Statistics

Threads 27
Replies 230
Solutions 11
Articles 0
posted 9 years ago

Testing/Phpunit and errors/exception testing

I have googled around and came up with nothing useful... How do people test their Errors? Here is me...

0 Likes
0 Replies

testing.. setting up db etc

so what do you guys do when creating tests? I have a setup method on the testcase (parent class) tha...

0 Likes
0 Replies

caching solution? which one?

Hi So i have been looking at the caching solutions and there are so many, redis, opcache, memcache a...

0 Likes
1 Replies

how to hide page and unhide page? (using auth, middleware..)

My app allows my company to upload banners that their client can then preview.. they can login and n...

0 Likes
0 Replies

id as string?

ok so i have a country table with id, country e.g. UK => United Kingdom.. so id is a string...

0 Likes
3 Replies
replied 10 years ago

Want to get boolean instead of 0/1 after ORM query

i tested it.. so if you echo you get 1 or 0 but if you var_dump you get true/false.. not sure :s you...

0 Likes
Solved
replied 10 years ago

How can i make this query in laravel

http://stackoverflow.com/questions/2300322/intersect-in-mysql gives few ideas...

0 Likes
replied 10 years ago

migrate not working for a copy of the application

so the obvious things would be: database exists? config/db is correct? ie username/database/connect...

0 Likes
replied 10 years ago

Want to get boolean instead of 0/1 after ORM query

try $casts in your models and if that doesnt work..

0 Likes
replied 10 years ago

Eloquent : Guarded and Unguard Certain Collumn Temporarily

why dont you in the controller mass assign all the other fields and then assign the password/guarded...

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.