Support the ongoing development of Laravel.io →

4,599 Threads

Get time from created_at column

Hello to every one. I am trying to display the entries which are stored within one hour, How to get...

0 Likes
1 Replies

Base table or view not found

I get following error: Illuminate \ Database \ QueryException (42S02) SQLSTATE[42S02]: Base table o...

0 Likes
1 Replies

Incremental save method - looking for feedback

Ok so in many cases you want to update integers in a database incrementally, this helps ensure that...

0 Likes
1 Replies

AD for Authentication MySQL DB for user information

I am pretty new to Laravel as well as frameworks in general, as such I am still getting use to the w...

0 Likes
0 Replies

How to paginate Eager Loding in larvel?

I have a serious problem. I have 3 models Role Model: <?php class Role extends Eloquent{ /** *...

0 Likes
0 Replies

Quick deploy db select

Hi, I'm new here so please don't bite. My question is I use MAMP for development (I know I need to m...

0 Likes
2 Replies

is dynamic migrations a good idea?

I started one small project and wanted to have fun, so i created dynamic migration, that gets inform...

0 Likes
0 Replies
posted 10 years ago

special models

Lets say we have some tables and I need to make a join query for half of the requests to table A. Is...

0 Likes
2 Replies
posted 10 years ago

Call to undefined method addEagerConstraints()

Hello, I have two columns I want to match with a model's id. I could call hasOne two times but then...

0 Likes
2 Replies

Relationship Table

I'm following the docs to create the ORM relationships at http://laravel.com/docs/eloquent#relations...

0 Likes
2 Replies
Solved

best way to import data from an oldwebsite to laravel

Hello, what's the best and convenient way to import data from old website to a new one using laravel...

0 Likes
5 Replies

Convert mysql query in Laravel

#####I have following sql: set @balance = 0; select receipt_no, particular, @balance := @balance + (...

0 Likes
1 Replies
Solved

Complex eloquent query attempt, please help

Assuming I have the next database structure: And I want to do the complex eloquent query - gather a...

0 Likes
0 Replies

how to generate "SELECT * FROM invoice WHERE invoice.id NOT IN (SELECT invoice_id FROM payment)" in Laravel.

I would like to generate Sql like SELECT * FROM invoice WHERE invoice.id NOT IN (SELECT invoice_id F...

0 Likes
1 Replies

Eloquent by Example

I've just started a new community project at http://eloquentbyexample.com/ My aim for this is to bui...

0 Likes
1 Replies

Can't store data with Store Method in Controller.

Hi there best colleagues i've the following strange issue when i want to store data in my database b...

0 Likes
2 Replies
Solved

Listings belong to user AND category

Hi, How do I set it up so that my Listings belong to both to the user who creates it, and a specific...

0 Likes
8 Replies
Solved

Menu's, Menu Building Best Practice & Flexible?

Hi Guys Ok, so I am just thinking about how to go about building menus in my application. Here is ho...

0 Likes
7 Replies

Grab a field from a joined table that was joined using with clause

Greetings, I want to know if it's possible without using the raw query builder to do what the title...

0 Likes
0 Replies

worth learning laravel to build a simple CMS?

Hi all. I've heard wonderful things about Laravel, and worked recently on front end / design for a p...

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