Support the ongoing development of Laravel.io →

4,597 Threads

Access denied for user 'forge'@'localhost'

Hi, The other day I had an issue and changed the environment to production based on another thread's...

0 Likes
2 Replies
Solved

Foreach in query builder?

Hi! How can i build a query eg: $products = Product::whereHas('tags', function($query) use($arrays)...

0 Likes
0 Replies

Concat results from a query

I'm trying to concat the results of a database query and return them as a variable that I can insert...

0 Likes
2 Replies
Solved

merging data of different data sources (database and REST api)

Hi, I've managed to setup a a database connection (eloquent model) and to display data of one table...

0 Likes
1 Replies

vagrant/homestead - can I automatically create databases?

I'm using vagrant/homestead. and everytime i "destroy and up" or reload, my databases are...

0 Likes
1 Replies

Store list of IDs on single column

Hello everyone! I have a relational model of three tables. And all with an N-N relationship. To simp...

0 Likes
0 Replies
posted 10 years ago

Schema migration error

If I create schema like this: Schema::create('clinic', function(Blueprint $table){ $table->increm...

0 Likes
0 Replies
posted 10 years ago

Collection vs array

Hello, I'm using a table pivot. Then I use a loop like this: foreach($ans as $a){ echo $a['name'...

0 Likes
0 Replies

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

I'm trying to delete an object model Studio which hasMany model Member and hasMany model Game and se...

0 Likes
0 Replies

Neo4j Cypher adapter

Hello, I have created a neo4j package specifically used to send cypher query. Have a look at it here...

0 Likes
1 Replies

create mysql views by migration scripts in laravel 4

how we can create mysql views by migration scripts in laravel 4??

0 Likes
3 Replies

Duplicates on querying db for products based on filters data

I have a simple filtering on my catalog. It allows me to choose the product based on its attributes...

0 Likes
2 Replies
Solved
posted 10 years ago

Converting SQL Query into Laravel

I want my query to return the rows of the table where a column contains a specific value first, and...

0 Likes
0 Replies

Eloquent swapping other data into new insert when it shouldn't be

Hello all! I'm having a rather frustrating time with an error and can not seem to work it out. I h...

0 Likes
2 Replies
Solved

SQLite Database on Capsule does not update

Retrieving records works correctly but updating items through save() does not do anything. It doesn'...

0 Likes
1 Replies

Eloquent Model outside Laravel, updating/deleting not working

Hi everyone, I'm using the Eloquent module outside of Laravel in this way (with sql server) // Compo...

0 Likes
4 Replies

Polymorphic relationship listing

I decided to test out polymorphic relationships and of course, I got stuck at the beginning. I want...

0 Likes
0 Replies

Dynamic Pages and Routes

Hey everyone, first post. I'm quite the beginner with laravel so sorry if I'm asking anything basic...

0 Likes
4 Replies
Solved

Auth login issue with Hash::make('secret')

Hi, I am new to laravel, and trying to developing login page using Auth tool. i am using following c...

0 Likes
2 Replies
Solved

How can I integrate an existing data base into a new laravel project?

Well! Eloquent it's so cool! but yesterday had a doubt...Can I work laravel whitout eloquent or how...

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