Support the ongoing development of Laravel.io →

4,591 Threads

Migrate codeigniter queries to laravel

Hi, I have very very long file contains a lot of queries was write in CI and I wondering if there a...

0 Likes
0 Replies

How to change table in belongsToMany?

How can I replace existing relation? At this moment, I have tables: requirements user_requirement...

0 Likes
1 Replies

Eloquent groupBy make “SQLSTATE[42000]” with valid SQL query in Laravel 5.3

Hi, I have a strange problem with Eloquent which I'm trying to do the following: $this->node = \D...

0 Likes
0 Replies

access trait variable from controller

good day all, i am currently working on a little project for this group of gamers. They asked me to...

0 Likes
4 Replies

Best practice on DB changes listeners

Hello, I'm looking into best practices to implement/use way of listening if DB is changed to fire a...

0 Likes
0 Replies

Professional MLM Software

There are lots of companies are offering the network marketing script facilities. But if you want to...

0 Likes
0 Replies

Working with a table sorted by a numeric 'position' column.

In my database, I have a table of items, sorted by a numeric "position" column. Each posit...

0 Likes
1 Replies

3 laravel installation with single admin on one installation

We are building 3 applications on 3 separate Laravel installations. These applications are for the s...

0 Likes
1 Replies

Correct design for product variants

Hellow . I have product table that right now has two , many to many relationship with sizes and colo...

0 Likes
2 Replies
posted 7 years ago

Dynamic databases

Greetings! I am using Laravel 5.2 and working on an application that manages information on differen...

0 Likes
1 Replies

Exception "Perhaps you meant to reference the table alias "laravel_reserved_0"" inside scope function.

Hi everyone. Laravel 5.2, latest update. I receive strange bug while using Eloquent subqueries and s...

0 Likes
0 Replies

syntax error, unexpected ':', expecting ';' or '{'

Good day all, Running into a little problem with my models and a package by spatie. Hopefully you ca...

0 Likes
2 Replies
Solved

Is it possible to get metadata describing the database schema of an Eloquent DB?

LateIy, I created a library that exploits the Doctrine Metadata to send a map of the database (field...

0 Likes
5 Replies

Iterating through the month field in the database and check with the current month

I have db table called "Payments". I am trying to find if any customer have missed any pay...

0 Likes
0 Replies

MD5 Encrypted Database Connection to PostgreSQL

Hi All, I have a postgresql database with md5 authentication enabled. I can login to my database fro...

0 Likes
1 Replies
posted 7 years ago

Accessing a part of queried table

How do I access this element? Here's my code + query on the database {{--*/$asgmt = \App\Submission:...

0 Likes
0 Replies

Advanced Eloquent query from morphToMany question

I have an Eloquent query question of approach. A Story hasMany Chapter. Story and Chapter are Taggab...

0 Likes
1 Replies
Solved

generating snippets

i have a routine which generates this code: <td style="text-align:left"> {{ Form::la...

0 Likes
2 Replies
posted 8 years ago

Is there a way to specify the length of an index ?

Basically what I would like to do is equivalent to this query: ALTER TABLE cleaners.categories ADD I...

0 Likes
2 Replies

Laravel randomly connects to different database

I have no idea how to google this since I mostly get tutorials about setting up multiple database co...

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