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

Model to array / Model to json Not working

Hello,.. I am new in laravel, and I have a problem when going to transform the model into an array....

0 Likes
4 Replies
Solved

Infinite scroll on a table [L5]

Hello, a few months ago, I successfully implemented Infinite Scroll in Laravel 5 using this tutorial...

0 Likes
3 Replies
Solved
posted 7 years ago

Fatal error: Cannot declare class ComposerAutoloaderInit8dc86f6929c5844bdcb795ce821e1849, because the name is already in use in autoload_real.php

After updating redis package composer shows this kind of error Fatal error: Cannot declare class Com...

0 Likes
1 Replies

Infinite scroll with custom queries in Laravel 5.3

Hi how can I implement infinite scroll with custom queries in Laravel ? Something like : $query = Se...

0 Likes
0 Replies
posted 7 years ago

PHPUnit memory usage due to large routes.php file

I have a Laravel project with 1000+ tests. What I noticed is that the larger my routes.php file gets...

0 Likes
6 Replies
posted 7 years ago

Queueing Algorithm

Hi! I hope this is the right place to ask this. I want to queue one job per user per minute. Not all...

0 Likes
0 Replies
posted 7 years ago

Page isn't working after fresh install

Hi all, I am a front end developer so don't hang me up please. Managed till now to install a new cop...

0 Likes
1 Replies

Laravel 5.3 not honoring smtp credentials on productive server

Hi, I am facing this very strange problem with Laravel 5.3. On my localhost i'm testing mail deliver...

0 Likes
1 Replies

Eloquent / Fluent SubQuery select

Hi, I can't find a way to do a left join to count elements from pivot table using Eloquent and Fluen...

0 Likes
3 Replies

Validator errors not in session?

I am validating a form with the following $validator = \Validator::make($request->all(), [ 'p...

0 Likes
11 Replies
Solved

Insert Mass Dummy Records

I want to create 1000's of dummy users, but also correct relations. Example would be create a User w...

0 Likes
0 Replies

Call to undefined method Illuminate\Database\Query\Builder::lists()

I've just started to study Laravel using this course Laravel 5 Fundamentals but in lesson 22 I've a...

0 Likes
4 Replies
Solved
posted 8 years ago

How to handle nested JSON object request in Laravel 5?

We had this webservice running in Laravel 5 and AngularJs/Ionic for handling the web. When we do htt...

0 Likes
8 Replies
Solved

How to access nested json request in laravel ?

JSON object send by angularJS by Post Method {"Accession_No":3,"Title":"dem...

0 Likes
0 Replies

Can you help me make my code better? Please review my code

It is my first time writing a composer package for Laravel and publishing it on GitHub free for all....

0 Likes
1 Replies

change page and clean the session

i'm using laravel auth, but i have a navbar that auth::chech and change the navbar, but don't work o...

0 Likes
2 Replies

I think there is a better way to do what I am doing. Programmatically populating a dashboard nav with Models

So I am attempting to create a basic CMS in Laravel as a sort of pet project. I am coming from a wor...

0 Likes
0 Replies

Checking laravel auth in subdomain (wordpress)

I have a laravel site and wordpress site running on the same domain. http://www.domain.com - laravel...

0 Likes
6 Replies

Helper Function

i want a helper function to get an element out of my database. can anybody help me?

0 Likes
2 Replies
posted 7 years ago

How to access 2 table from controller?

I make 2 table inside up function. I can access groups table. But how can I retrieve group_details t...

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.

© 2024 Laravel.io - All rights reserved.