Support the ongoing development of Laravel.io →

4,602 Threads

datatables (blimm): fully leveraging ORM and not repeating the "join"

Referring to this: https://github.com/bllim/laravel4-datatables-package If say my Places model has...

0 Likes
0 Replies

Call to undefined method User::abc()

i don't call function in class User default on models #function protected function abc(){ return Use...

0 Likes
2 Replies
posted 10 years ago

Write Queries

How would I go about writing out my queries? I would just prefer to write my own queries, any help...

0 Likes
1 Replies

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

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.