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

How to get items in a hierarchical category

Men (parent_id 0) Men 1.2 -- Men 1.3 (2 product) ---- Men 1.4 (1 product) I need to get all items...

0 Likes
2 Replies
posted 9 years ago

Override find()

I'm trying to override the find method, but for some reason it's stuck in an endless loop. It's the...

0 Likes
3 Replies
Solved

Combine multiple queries

I try to make a search engine for users. The search will be with multiple fields so as the user can...

0 Likes
0 Replies

Localization - Dynamically filling the language files from database

I'm currently porting an app from Codeigniter to Laravel and was looking to implement some functiona...

0 Likes
4 Replies

Login with email or first_name with Sentry

Hi all, First excuse my bad english. I try to connect with first_name or email. This works well for...

0 Likes
5 Replies
Solved

OAuth or JWT? Which one to use and why?

I am starting to learn about token based authentication and I am trying to learn how to implement it...

0 Likes
1 Replies

Use factory() in PHPUnitTest

Hi all, i try to use factory function in my PHPUnitTest in my custom package. This is my test code:...

0 Likes
1 Replies

How to use 'WITH (NOLOCK)' in Laravel with connection 'sqlsrv' ?

Hi i have a conneciton with a giant datebase, and i realy need to use 'with (nolock)' in my queries...

0 Likes
1 Replies
Solved

Installing https://github.com/antonioribeiro/laravelcs Codesniffer

phpcs --standard=LaravelCodeSniffer/Standards/Laravel/ -bash: phpcs: command not found I cannot inst...

0 Likes
0 Replies
posted 9 years ago

Request::is() function not correct?

Hey guys, I came across some weird stuff (I use Laravel 5.1). I have the following code: $my_current...

0 Likes
1 Replies
posted 9 years ago

Hosting Laravel 5 project on Oracle linux.

I am hosting my Laravel 5.0 project for the first time on Oracle Linux Server. Laravel returns a Bla...

0 Likes
0 Replies

Running Laravel offline (ability to work offline)

How easy would it be to build a laravel application that could run offline and then sync with a mysq...

0 Likes
3 Replies
posted 9 years ago

Laravel 5.1 blade helper

Situation is, i have html code, what is duplicated in all other templates, for example it's a menu,...

0 Likes
2 Replies
Solved
posted 10 years ago

How to use `with (nolock)` with Eloquent or Query Builder?

Hi folks! I have some throuble because my queries not have with (nolock) instruction after from clau...

0 Likes
1 Replies

PHP Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE)

Hi Guys. I was running my laravel project just fine in localhost, but now that I updated my files t...

0 Likes
3 Replies
Solved

Database records -- Select from time range, group by ID, sum numeric columns

Hi guys, I'm fairly new to Laravel (and web dev), but I'm trying to build a project for work. I'll t...

0 Likes
3 Replies
Solved
posted 9 years ago

uploaded files are corrupt

on laravel 5.1 uploads (either serial or ajax) - i use the regular move function: $file-...

0 Likes
5 Replies
posted 9 years ago

Laravel modify my number value

Hello: I have a laravel code that import certain number from database and put it into the template....

0 Likes
2 Replies

Observing pivot tables

I've seen a lot of posts here about this but no solution. Is there any method to observe pivot table...

0 Likes
0 Replies
posted 9 years ago

Any deployment tutorials?

Hi- Yes, this is another deployment thread. I tried hard to resist creating yet another one. I am...

0 Likes
1 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.