Support the ongoing development of Laravel.io →

How can I get the id from hasMany relationship?

Don't know if I'm doing this right. I have two models: Projects and Clients. Projects table has the...

0 Likes
3 Replies
posted 10 years ago

I can't connect to sql server 2008

I use, xampp extension=php_sqlsrv_55_ts.dll extension= php_pdo_sqlsrv_55_ts.dll $user = 'myuser'; $p...

0 Likes
5 Replies
Solved

"Depth to great" when querying relations

I get the message "depth too great" when querying a couple of relations. These are my mode...

0 Likes
2 Replies
Solved

Renaming create method() ??

Hey guys, I have this controller performing some CRUD tasks. My question is, if there is any way to...

0 Likes
3 Replies
Solved
posted 10 years ago

How to add class to a select options

Can we add a class or something else to a <option> in Laravel 4 ? I try to use deboostrap prop...

0 Likes
1 Replies
posted 10 years ago

Sentry 2 Authentication workflow [URGENT]

I'm building an authentication system using Sentry 2. The problem I'm facing is that I'm unable to...

0 Likes
1 Replies
Solved

Dynamic validation rules

I need to have some validation rules based on configuration files (those at app/config), so the rule...

0 Likes
2 Replies
Solved
posted 10 years ago

Laravel mySql joins

Hi im new to Laravel and im just trying to work out the query builder. If i wanted to do this query...

0 Likes
1 Replies

Null value for deleted_at to be '0' and not 'null'

As I have asked a few times before, I'm developing a website/CMS to a game server for which I can no...

0 Likes
6 Replies
Solved

PSR-4 vs classmap autoloading

Hi all ! Just a simple question. I read on different topic that custom class like helper.php should...

0 Likes
2 Replies
posted 10 years ago

How to create Laravel project to PHP Archive file?

Dear, I want to create Laravel project to php archive file, but I don't khnow. Pl help me.

0 Likes
0 Replies

Is there a way to order by data in a pivot table

Hi, I have a pivot table that links users to products. The table has timestamps that are updated wh...

0 Likes
1 Replies
posted 10 years ago

As a controller is this bulky?

As a controller is this bulky or is it ok? I try to follow as much of Laracasts tutorials to keep th...

0 Likes
2 Replies

best practices or common conventions around schema documentation?

Hi Laravel Community, As one of your newest members I'm curious if there's common conventions here a...

0 Likes
1 Replies

Design Time Decisions

Hi, I'm planning on creating a web app that different companies can sign up for. The app will use a...

0 Likes
3 Replies

Why does model->delete not check the return from the database?

I was looking at the code in the delete method of the Model object in Model.php. The code eventually...

0 Likes
0 Replies
posted 10 years ago

How to model a 'MightHaveOneThrough' Relationship

I have a model where current_order_workflow_step is optional order_workflow_step is basially a join...

0 Likes
0 Replies

Where to put job postings?

The old foums had a place for gigs / job postings. I would like to see that again. Would anyone here...

0 Likes
5 Replies
posted 10 years ago

artisan make command

Hi when I give the following command D:\wamp\www\laravel>php artisan JobController:make jobs I go...

0 Likes
1 Replies

Best logic for implmenting upload progress bar

What is the best approach for implementing upload progress bar in Laravel? I know the following opti...

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.