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

L 4.1.21 - query whereIn array not working?

I've tried 3 different versions but without any success. What am I doing wrong? Controller $user...

0 Likes
2 Replies
Solved

hasManyThough return wrong ID

Hi Every body, my code is here http://laravel.io/bin/NmmV Categoria -> Fisrt Model, parent of the...

0 Likes
2 Replies
Solved
posted 10 years ago

I'm getting 'ReflectionException Class User does not exist' when going to xxxxx.dev/users route.

Hi, I'm fairly new to Laravel and I'm trying to use efficiently/authority controller package. So I f...

0 Likes
4 Replies
Solved

Is there a way to safely remove custom artisan commands?

I created a "test" class for my artisan command, but now I want to delete it completely,...

0 Likes
1 Replies
Solved
posted 10 years ago

Mail save to DB for later processing via cron

Hi guys, I'm doing research on implementing a new project in Laravel, we currently generate emails a...

0 Likes
2 Replies
Solved

Eloquent models with IoC

I'm using the IoC Container to allow me to run model validation automagically, by binding a User mod...

0 Likes
5 Replies
Solved
posted 10 years ago

How will Laravel Change in the Future? A question regarding stability

Hello, I'm the sole full-stack developer in a startup, and I've been happily using Laravel 3 for a y...

0 Likes
10 Replies
Solved
posted 10 years ago

Pointing browser to project root returns nothing but file tree

I have created a project and I was under the impression that pointing my browser to the project page...

0 Likes
7 Replies
Solved
posted 10 years ago

Getting all routes

im playing around with building an api, and im at a point where i want to be able to get all routes...

0 Likes
3 Replies
Solved

Mcrypt PHP extension required - WAMP

I am getting this error when trying to setup laravel. phpinfo shows that mcrypt is enabled. Any poin...

0 Likes
2 Replies
Solved

[solved]Best way to create friendship between users

I'm trying to figure out what would be the best way to create options for users to add friends, I ha...

0 Likes
2 Replies
Solved
posted 10 years ago

install "barryvdh / laravel-dompdf" on L4.1?

Dear, Why I can't install "barryvdh / laravel-dompdf" on L4.1? Please help me.

0 Likes
6 Replies
Solved

Database Eloquent Modeling with dynamic table names ?

How can I model dynamic tables names. For example. A product has orders, all orders for the same pr...

0 Likes
1 Replies
Solved

Best Practices for Validation Inside Models

I just came across an example that put the validation inside of a model like so: class User extends...

0 Likes
4 Replies
Solved

Database Truncate Even If It Has Foreign Key

I have a database seeder begins with: DB::table('lessons')->truncate(); But when I run seeder, [I...

0 Likes
3 Replies
Solved

Eloquent model event executed on Query\Builder instead of Model

Hi everyone, i have pretty weird problem. I am developing a project with Laravel with my laptop (XAM...

0 Likes
1 Replies
Solved

Class 'Illuminate\\Routing\\Controllers\\Controller' not found error

Hi, I'm a completely new to Laravel. I've been given a web app written in Laravel 4 to upgrade it to...

0 Likes
2 Replies
Solved
posted 10 years ago

Issue with URL generation

I'm currently using Laravel 4.0* with my app and having trouble producing clean URLs when the URL be...

0 Likes
3 Replies
Solved

foreach on eloquent from last to first

I have a post object that has comments: $post->comments now when I do a select on the comments Im...

0 Likes
2 Replies
Solved
posted 10 years ago

Optimisation techniques on LEMP

I would like to optimise my stack a bit more for, i For now i have a stock ubuntu, nginx , MySQL, an...

0 Likes
3 Replies
Solved

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.

© 2024 Laravel.io - All rights reserved.