Support the ongoing development of Laravel.io →

4,597 Threads

Continuing a session

I like to implement this in an application: when the user becomes inactive and the session is about...

0 Likes
0 Replies

php artisan migrate error: [PDOException] could not find driver

I'm trying to learn the basics of Laravel 4 and I'm also new to programming so I'm trying to learn a...

0 Likes
1 Replies
posted 10 years ago

Laravel pagination is damn slow

I was looking for a bottle neck of my app and it turned to be the laravel pagination. I have a table...

0 Likes
6 Replies
Solved

git and database.php

Hi there, I have my laravel project in git... and I do not want to commit my passwords to repo... so...

0 Likes
1 Replies

How to orderBy users by Userdata model?

$data['photos'] = Userdata::where('name', '=', 'main_photo')->orderBy('updated_at', 'desc')->p...

0 Likes
1 Replies

3 related Models, how to insert update delete?

Hello, I am new to Laravel and have an issue in one of my models. I have the follwoing: class User e...

0 Likes
4 Replies

Describe model table

Hello i was wondering is there an easy way to describe table that corresponds to specific model like...

0 Likes
1 Replies
Solved
posted 10 years ago

Combining 2 functions on a class?

I would like to know how i can combine 2 functions to a class. (newbie question) $data = tblcategori...

0 Likes
5 Replies

Rollback if mail sending fails - how to do?

Hello, I have a database operation that saves a user in the database. After saving I will send an em...

0 Likes
2 Replies

Image Upload / Lavarel stores image as a .tmp and not .img file

I created a Forum which should upload an image. In my form i`ve {{ Form::file('image') }} This is a...

0 Likes
0 Replies
posted 10 years ago

How to solve this with N+1 issue? Customer has a lot of activities, I want to take the latest one

Relation: One customer has many activities. From the Index page, I want to show the latest activity...

0 Likes
5 Replies
Solved

How to build a small site in a day (upload images feature)

Hi! I have a very specific small project need -- I need users to be able to upload their images (and...

0 Likes
2 Replies

How to submit data to multiple tables in the same form

I have 2 tables: listings and listings_specifications Listings table id type status location specifi...

0 Likes
1 Replies

Using Ardent and putting validation in the model. Any reviews, thoughts, or insight?

I'm trying to adhere to the thin controller, fat model design so I want to put my validation in my m...

0 Likes
2 Replies

Configuring Connection Pooling on Laravel 4.1.x

I'm unable to figure out how to set up/configure connection pooling for my SaaS app created using La...

0 Likes
0 Replies

Only pulling data from 7 days ago

Hey everyone, I am working on creating a news area for a local organization in my hometown. The basi...

0 Likes
1 Replies
Solved

3NF database design ( And Conditions )

I have a 3NF design (Tag , Item_Tag, Item) As below but it wont work because i'm looping the same ol...

0 Likes
2 Replies

Artisan doesnt create table

I tried to create a table with artisan but it`s not setting up the table: I already puted the relev...

0 Likes
0 Replies

Meta Data store suggestion

I am trying to create an application that would store lots of meta data for a user and the same meta...

0 Likes
2 Replies
Solved

Using model scopes gives Method not found

I'm having a bunch of trouble with model scopes. I have one scope that works properly, called direct...

0 Likes
4 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.