Support the ongoing development of Laravel.io →

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

Using Command options throwing error

Hi, I'm using Laravel commands, everything is well with the arguments, when I work with it all is go...

0 Likes 2 Replies

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

Authentication attempt not "saving" per se

I'm having issues with Authentication where after Auth::attempt()ing someone and have it return true...

0 Likes 4 Replies

Displaying, Storing, manipulating timer through session variable

Is it possible to show a timer countdown (30 minutes) using a session variable and logging out when...

0 Likes 1 Replies

Extending package controller

Hi all, I'm developing a Laravel package, which uses some MainController and AuthController. Both of...

0 Likes 0 Replies

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

Separate packages and other stuff

It would be easier to read forum if packages would be separated from other sections so that it would...

0 Likes 0 Replies

Bash Script for One Click Laravel Install with Vagrant

Hello Forum, I am new to the Laravel Comunity, so, Pardon me if this is against forum rules. I recen...

0 Likes 0 Replies

Need help modelling relationships

So I'm creating a very simple project/task management application in Laravel 4 and I'm not sure how...

0 Likes 3 Replies

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

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

query returning something wrong

Hi... I started using laravel 2-3 months ago and for the first time I have a problem I can't solve :...

0 Likes 1 Replies
Solved

Survey Design

I am looking to create a dynamic form survey using a database with questions, answers, and associati...

0 Likes 0 Replies

Eloquent hasOne Relationship, MSSQL good, but returning null

Using a MSSQL DB, I have a relationship set up between Vm hasOne to Vmconfig Vm <?php class Vm...

0 Likes 1 Replies

Section on testing

Testing is a pretty huge topic, it might be nice to have it's own dedicated section in the forum for...

0 Likes 3 Replies

We need a "Closed" option

Hey guys, We need a "closed thread" option so people can see that this issue is fixed :)!...

0 Likes 7 Replies
Solved

Call to undefined method error while getting the data

these are my relations.. User model public function posts() { return $this->hasMany('Post'...

0 Likes 1 Replies

Missing download link for podcasts on mobile

New podcasts page is missing "Download this MP3" link in mobile browser (Firefox on Androi...

0 Likes 0 Replies

Thanks to our community

Solutions given in the past year.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.