Support the ongoing development of Laravel.io →
posted 9 years ago

aquivalent to "->first()"

What is the aquivalent to the first() method of the Eloquent ORM, but where i can choose the positio...

0 Likes
3 Replies

How to optimize the fetch to the morphTo relation

On Laravel "4.1.29", I have several different type of users. Each type of user has it's ow...

0 Likes
0 Replies

please help -- how to parse (use) aggragate query result

I have managed to evaluate the occurances of distinct values of a column via a raw query. The result...

0 Likes
0 Replies
posted 9 years ago

Problem in my ServiceProvider

in my register() function this, $this->app->bind('IDistrictsRepository', function() { return n...

0 Likes
2 Replies
Solved

Generate language files

Just wondering if there is an package or a method to generate the language files? Now I just need to...

0 Likes
3 Replies
Solved

Rendering views while other views are rendering

This was an issue I posted on Github earlier but Mr Otwell closed it and advised I post it here inst...

0 Likes
6 Replies
Solved

# of occurances of distinct values in a column

Hi all, Suppose I have an orders table and it has a price field. The price values are between 1 and...

0 Likes
0 Replies

Redirect::to() from a package class

Hy, I want to make redirect's from my package class, but if returning a redirect it redirect me to t...

0 Likes
1 Replies
Solved
posted 9 years ago

Session data. Is there a better way?

I have a controller that redirects the user to another page and sends some data along in the form of...

0 Likes
8 Replies
Solved

Pass database data to multiples views

Hy. First at all, sorry for my english, is not the best, but i try to do the best. I have a database...

0 Likes
0 Replies

User Roles/Permission based on subdomain using Sentry

Hi there, I'm writing an app where users get their own subdomain. A user can have different roles (a...

0 Likes
0 Replies
posted 9 years ago

Using XHP for views

Hi everyone! I just wrote a blog post on getting started with using XHP for views in Laravel. XHP is...

0 Likes
0 Replies
posted 9 years ago

Open source Laravel project with good tests

I am still learning what and how to test in Laravel. However, no matter how many tutorials you read...

0 Likes
1 Replies

Laravel database errors - need help fixing

So, with laravel 4.27, alot of the FluxBB functions got messed up. current function isn't working, a...

0 Likes
0 Replies

Protecting sensitive info

Hello In the manual I am getting confused as to how to distribute the content in the files .env.loca...

0 Likes
0 Replies

Can't use own route on view

Hi, I've just created this function on my users controller: public function signin() { if (Auth::at...

0 Likes
2 Replies
Solved

how to use this function in class User extends Eloquent

public function destroy($id) { User::find($id)->delete(); return Redirect::route('user') ->wit...

0 Likes
4 Replies

Using Laravel Auth with Models from pacakge

I'm currently working on a CMS, and the goal is to have absolute minimal setup for a developer. Sinc...

0 Likes
0 Replies

Ardent 2 Models in Controller Method Validation Errors

Hi Guys, Stuck with a validation problem in Laravel. I don't think it's specific to Ardent, but that...

0 Likes
0 Replies

Laravel Auth - Problem with logging in.

Hello, I've problem with logging into my application, i've tried to use another hashing, but it didn...

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.