Support the ongoing development of Laravel.io →

4,608 Threads

posted 9 years ago

Pointing to wrong database

I need to change the name of my database. I made the change in config/database.php. The name is now...

0 Likes
4 Replies

JSON column

Hello guys, I have model with these settings/methods: protected $casts = ['data' => 'object'];...

0 Likes
1 Replies
Solved

problem to update my image path in lavarel5.1

Hi I tried to update my image path in MySql but i see some tmp file path in mysql and i dont have an...

0 Likes
3 Replies
Solved

preferred techniques of database abstraction

This may be a question where 100 programmers have a 100 different answers but I was wondering if the...

0 Likes
0 Replies

Getting the right data to database

Hi all, So I have this edit blade which contains a textbox and a selectfield. The idea is, to insert...

0 Likes
3 Replies

Displaying not the id, but the name of a certain data from a table connected with foreign key. - Laravel 5.2

I'm trying to pass data to my view and i want to visualize the name of some records not the id so in...

0 Likes
2 Replies

onClick Data is not coming on my view using ajax laravel 5

#This is my ajax <script> $(function(){ $('.click').click(function(){ alert($(this).attr('hr...

0 Likes
3 Replies

Sessions and database

Hello! I set my session driver as database and in session config file set connection as mysql, becau...

0 Likes
1 Replies

cart in laravel

How to create shoping cart in laravel 5 , i'm experience difficulty to make.? it please

0 Likes
0 Replies
posted 9 years ago

db:seed generates errors

Hello, i'm using "iseed" to generate my seed files for migrating in a new database. When i...

0 Likes
0 Replies

Best way to store simple social media stats

I'm trying to track really simple social media stats for some companies. At this stage I'm largely s...

0 Likes
0 Replies

Error finding Model from Controller.php file, no error in artisan tinker.. help please

I am new to using Laraval so I apologize if this question is elementary. I'm running Laravel 5.2 usi...

0 Likes
3 Replies
Solved

Inserting JSON to DB Using Model

I'm trying to use the model create option and this is my array: $result = array( 'match...

0 Likes
0 Replies

help with identifier and parameter

I want to make uri something like this : localhost:8000/products/productname Route::get('/products/{...

0 Likes
3 Replies
Solved

Seeding & Model Factories Between 3 Relations

I previously asked this question on the Laracasts forums at https://laracasts.com/discuss/channels/e...

0 Likes
1 Replies

Non incremental numeric ID on laravel?

Hi, I wonder if it's possible to use non incremental ID on Laravel? What method shoul I overwrite? T...

0 Likes
6 Replies

Connect to remote mysql database while working locally

I'm trying to set up my local environment with MAMP. However, I want my database to point to my RDS...

0 Likes
5 Replies
Solved

Pagination always returns the first page

Hello, I'm trying to use Laravel pagination, no matter what I tried I'm always getting the first pag...

0 Likes
2 Replies
Solved

I can't logged in user using my own controller.

This is my form <form method="POST"> <div class="table-responsive">...

0 Likes
2 Replies
posted 9 years ago

Need help with Eloquent

Hi devs, Can anyone help me with this I have four tables users id|name|email|password rooms id|user_...

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

© 2025 Laravel.io - All rights reserved.