Support the ongoing development of Laravel.io →

4,599 Threads

Best Practice: Separating custom model functionality from Eloquent

Eloquent is great, but in big projects it's common for extended functionality to dig into models. I'...

0 Likes
5 Replies

is there any helper class or package in Laravel via which we can import export CSV/Excel file

Hello is there any ackage in Laravel via which we can import export CSV/Excel file in mysql database...

0 Likes
0 Replies

Can't see anything with Blade

Hi I'm trying to create a template with the Blade templating engine. When I try to view the page, I...

0 Likes
2 Replies
Solved

Schema builder and TIMESTAMP

How do you set defaults for timestamp column? $table->timestamp('row_modified')->default(DB::r...

0 Likes
0 Replies

using enviroment variables with laravel.

Hi all, Can anyone give me a hand? I am trying to use system enviroment variables to log into my lar...

0 Likes
3 Replies

Friendship database management

Hi everybody, First of all, I'm a newbie on Laravel Framwork. I love this framework, therefore I cho...

0 Likes
0 Replies
posted 10 years ago

How to keep fluent query builder from returning the fields defined as hidden attribute in model?

I have declared some hidden fields in model to prevent them from getting included in json output. El...

0 Likes
0 Replies

Opening hours for restaurants HTML and Laravel

For each day i have start and end time with hours and minutes. Can someone help me with that kind of...

0 Likes
1 Replies
posted 10 years ago

Inner Join Relation

I have 2 tabels in my database: First tabel all the users with there information Second tabel the re...

0 Likes
0 Replies
posted 10 years ago

I am forced to use the command line interface to create tables in the database?

I'm wont to create database table by phpmyadmin, there is any convenience to create database table b...

0 Likes
1 Replies
Solved

hasMany relationship problem

Hello everyone, the problem is that im developing an bodybuilding workout app to track my progress,...

0 Likes
0 Replies

Query shouldn't be cached

Hi everyone, my problem is: i build a query like " DB::select( DB::raw("SELECT cont_timest...

0 Likes
3 Replies

Pivot Tables

I've been looking around and have read some of the documentation on the laravel website. I have a us...

0 Likes
8 Replies
Solved

Proper Object Model Iteration with variables

Hi all, Fairly new to Laravel, and OOP in general, but have been using it fine for the past few week...

0 Likes
1 Replies
Solved

How to combine a join with a where clause?

So I'm doing something like this: $ImageCategory = ImageCategory::where('styles.id', '=', $categ...

0 Likes
1 Replies

Pivot with Parent/Child

Hi, I have a ManyToMany relationship with Listings an Categories class Category extends \Eloquent {...

0 Likes
0 Replies

Cross platform API standalone script

I am working with another developer on my application. He is using raw php and I am using Laravel. H...

0 Likes
0 Replies

Return query of join table as extra json.

Hello Community, Here is my model query : return $this->where('mac_address', $id) ->join($thi...

0 Likes
2 Replies

Field name constants

Please forgive any ignorance on my part. Has anyone devised of a more reliable way (in my mind) to...

0 Likes
2 Replies

how to call php artisan command from route or controller?

I would like to call php artisan command from route or controller, i do like this (test on backup/re...

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.