Support the ongoing development of Laravel.io →

4,606 Threads

Laravel, when user logs out - SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry

I get this error when I logout (http://example.com/logout). I click on a link which takes me to the...

0 Likes
4 Replies

Database access in middleware Laravel 5

I am experimenting with Laravel 5 and came across HTTP Middleware. I am curious to know whether it i...

0 Likes
1 Replies

One to many relationship help need

in table 'materials' columns are 'id','unit_id','description','category_id','created_at','updated_at...

0 Likes
1 Replies
Solved

Validation to upload photo isn't working

I've created a form using primary regular HTML (syntax below). When I use the laravel 4 built in fun...

0 Likes
2 Replies

PDF Generation.

@foreach($contractallusers as $contractalluser) $html = '<html><body>' . '<div style=...

0 Likes
3 Replies

How to create pdf document using ajax?

Creating PDF File using ajaz method. Am using https://github.com/thujohn/pdf-l4 pdf package

0 Likes
1 Replies

Best way to ensure a successful saving database objects

Hi! Im looking for the best way to ensure that my objects are being saved properly What im doing $us...

0 Likes
2 Replies
Solved

installing laravel 5 and lampp

Regards, I'm new to laravel and I'm stuck on installation.Already I lost two days on that problem, a...

0 Likes
1 Replies

[AJAX] Get data from database.

Hello everyone, I am using laravel's eloquent for my website and I want to get all the data from a t...

0 Likes
2 Replies
Solved

Excessive queries in Laravel 4.2. What am I doing wrong?

So, I have this relationship: public function publishedAlbums() { return $this->hasMany('Album')...

0 Likes
1 Replies
Solved

Route model binding & Repositories

Greetings. I am having some confusion about route model binding with/vs repositories. Here's how I...

0 Likes
0 Replies

File import

Hi everyone I'm new to Laravel, I'm currently doing an import file page and store the imported file...

0 Likes
1 Replies

return data array with ajax?

Is it possible to return a data array in Laravel with ajax? I basically need to pull in some data wi...

0 Likes
3 Replies

Where i can use Laravel?

Hi All, Please suggest: i want to use Laravel for a Local search engine. Basically my program is loc...

0 Likes
3 Replies

Opinion about eloquent

Things that I like about eloquent: Fantastic query builder Facilities provided in model the abili...

0 Likes
0 Replies

MSSQL Stored Procedures - Returning id after insert

Hello, I choose to use stored procedures in my controllers when passing parameters to the database....

0 Likes
3 Replies
Solved

Title From Database

I'm very new to Laravel, so bear with me. I've been banging my head trying to figure out how I can d...

0 Likes
6 Replies

Laravel Model Debug

Is it just me or , maybe misconfiguration , but if I dd() a model, especially if it has a relation,...

0 Likes
0 Replies

Form with model

Hello, I have a form action with model: {!! Form::model($iscritto,['url' => 'iscritti/' . $iscrit...

0 Likes
0 Replies

Database Connection Problem

I don't know what's the following error means. I can't figure out what's the problem. [2015-03-02 18...

0 Likes
1 Replies

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.

© 2025 Laravel.io - All rights reserved.