Support the ongoing development of Laravel.io →
chriz74x

chriz74x

Joined 8 Apr 2015

Statistics

Threads 22
Replies 27
Solutions 0
Articles 0
posted 6 years ago

reduce database query to one and avoid load() null error

I have this function: public function show($id) { if (count($post = Post::find($id)))...

0 Likes
0 Replies

save unaltered image to server with intervention (how to?)

Hi there, I finally managed to crop resize and compress an image file the user is submitting through...

0 Likes
0 Replies

strip email addresses, domains or domain names from user input

I am looking at a way to strip those things from user input comments or posts in my project. I am us...

0 Likes
0 Replies
posted 9 years ago

how do we load user data (distant relation) in polymorphic relation and...

...how do we get all user's associated likeables? So I used the polymorphic relation method to set u...

0 Likes
0 Replies

Policy not working, God knows why...

I am trying to move the controls I make in the Controller for a User to be able to leave a Comment o...

0 Likes
0 Replies
replied 10 years ago

retrieve data from two foreign tables referenced in items table attached to user by pivot table

I found a way, given the models structure I described. This way I can access the data. Please let me...

0 Likes
replied 10 years ago

restore project from backup after HDD format

solved: http://www.epigroove.com/blog/laravel-routes-not-working-make-sure-htaccess-is-working

0 Likes
replied 10 years ago

blade doesn't process string in jquery callback function if the js file is set alone in public/js and removed from html

I tried your solution var chriz = { vars: { some_value: {{ number_format($size->it,1) }} another_...

0 Likes
replied 10 years ago

blade doesn't process string in jquery callback function if the js file is set alone in public/js and removed from html

won't work, I don't know my vars before post. What about this idea, have the callback function load...

0 Likes
replied 10 years ago

created_at and updated_at values not set when seeding from csv

Thanks for the hints, it worked. I pasted the code here http://pastebin.com/zn8WpeAR

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.