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 9 years ago

Model get's wrong ID after saving

when you say different how different? what does it give you and what are you expecting? Also bigint(...

0 Likes
replied 9 years ago

Is this an example of good looking write or the oposite?

what are you trying to achieve here? its a little bit convulated here..

0 Likes
replied 10 years ago

whereHas for many-to-many relationship

why dont you try SCOPE in your products table and see if that works? btw you are doing two queries.....

0 Likes
replied 10 years ago

PHP code from a table

what are you trying to do? maybe we can suggest something better? you can certainly do that but with...

0 Likes
replied 10 years ago

PHP7 in Laravel

i dont follow? you dont need to do anything in Laravel.. just need to upgrade your PHP on your serve...

0 Likes
Solved

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.