Support the ongoing development of Laravel.io →

4,606 Threads

Editing in laravel

Hi I'm busy with a tutorial and when I try to use the edit line in the model, I end up having a blan...

0 Likes
4 Replies
Solved
posted 10 years ago

recursive category system

I am trying to write a global fn for my cat system that is in the base controller. here is the fn in...

0 Likes
0 Replies

Nothing to migrate

Hello, everyone. Can you help me? I have some problems with artisan migrate. The issue is, when i ex...

0 Likes
3 Replies
Solved

Laravel installation won't change from homestead database

I've setup my local Laravel installation to use a different database from the default Homestead one:...

0 Likes
2 Replies

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

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.

© 2025 Laravel.io - All rights reserved.