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

Remove white space between words in DB

$jobs->where('CollPCode','LIKE','%'.$colpostcode.'%'); should be: $jobs->where('CollPCode','RE...

0 Likes
replied 10 years ago

Remove white space between words in DB

you dont want a like, you need a regexp something like: select 'b377gt' REGEXP '[[:alnum:]][[:blank:...

0 Likes
replied 10 years ago

dynamically load views partials

you would still need the ajax/jquery to send the product type & category to a controller which w...

0 Likes
replied 10 years ago

Middleware vs FormRequest authorize method

if the user is authenticated, then why dont you check if he goes to users/2/albums that the id 2 is...

0 Likes
replied 10 years ago

Leak of memory when adding to database

One way would be: when the user uploads the file, store them in a directory e.g. uploads/username/...

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.