Support the ongoing development of Laravel.io →

How to load assets (css/js) from vendor/package folder?

I added kartik-v\bootstrap-star-rating package via composer and I want to load its css and js assets...

0 Likes
7 Replies
posted 9 years ago

Pagination Call to undefined method Illuminate\Database\Query\Builder::links()

Hi i have the following action in my controller (LanguagesController) public function index() { $l...

0 Likes
1 Replies
posted 9 years ago

Password Reminders & Reset has now subject in the email

I tried to open an issue but couldn't find where. It may be not such big deal, but when a user sees...

0 Likes
2 Replies
Solved
posted 9 years ago

How to get user attributes from LDAP

Hello everybody, I want to call a class in vendor folder. I use https://github.com/ccovey/ldap-auth...

0 Likes
1 Replies
Solved

Relationship Query

Is there any place that shows real world examples of Relationship querys and fetching associated dat...

0 Likes
5 Replies
posted 9 years ago

Multiple aggregates in one query

How would I do "SELECT Count(*), Min(some_field), Max(some_field) FROM some_table" in the...

0 Likes
2 Replies
Solved

Returning records using withTrashed()

An Owner has many Cars... And in my blade page I have this... {{{$car->Owner->name}}} And tha...

0 Likes
3 Replies
posted 9 years ago

Laracon Community Day

Hey guys I was wondering if it would make any sense to only attend the community day (28th august) f...

0 Likes
0 Replies

Location of resources and namespacing in packages.

My package needs controllers, models and views. I'm confused as to where these should be placed and...

0 Likes
0 Replies

Redirect from a function?

Is it possible to create a redirect from within a function? Say I have a BaseController that all con...

0 Likes
5 Replies
Solved
posted 9 years ago

Returning collections from a given user in the Collections controller

I have an app with users and collections. Both are resources and each user can create collections. I...

0 Likes
2 Replies
Solved
posted 9 years ago

How to customize Pagination url in laravel 4 ?

I am trying to change the URL to make it SEO friendly. i was able to go all the way to the Presenter...

0 Likes
1 Replies

Quick question regarding error handling in restful API

hi, here's the show method of my SiteController, it shows a site resource as a json to any user who...

0 Likes
1 Replies

Testing and usage of the Ioc Container

I'm quite new about testing. I'm wondering what is the best way to make my classe testable. Is it be...

0 Likes
1 Replies

Trait 'Illuminate\Auth\UserTrait' not found

HI i searched Google but did not find anything about this and i never had this error before in Larav...

0 Likes
0 Replies

Whats the opposite of ->associate() ?

I'm trying to figure out the easiest and most effective way up updating hasMany() and belongsTo() re...

0 Likes
2 Replies
posted 9 years ago

How do I Echo the View Filename as an ID?

I am pretty new to Laravel and have a fairly basic question. In my default.blade.php I have a <di...

0 Likes
11 Replies
Solved

One of my "belongsTo" doesn't work - why?

Hi! Just started using Laravel (4.1.30) for a project at work. So far it's just amazing, totally hoo...

0 Likes
2 Replies
Solved
posted 9 years ago

Repository pattern and Object instantiation

Hello I have recently implemented the repository pattern using Jeff Ways ace tutorials at Laracast....

0 Likes
4 Replies
Solved

Testing Structure and Workbench Errors

Hello. My setup is probably a tiny bit weird but I am working on a workbench system where everyone o...

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.