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

Service provider to return a NON-singleton class

Hi, Is there any way I can create a service provider to return a non-singleton class? I want to use...

0 Likes
0 Replies

Eloquent Aggregation User Activity-like query

I have a collection of x amount of tables that are directly related to my user model. Currently ther...

0 Likes
0 Replies

Class 'Symfony\Component\Routing\Route' not found

I have created a game page and trying to run in command prompt "php artisan serve" as well...

0 Likes
0 Replies

Auth::Check Not Working

I have created multiple modules like admin, sections, programs etc. and i have two separate tables f...

0 Likes
6 Replies
Solved

how to catch Exceptions

Hi there. I'm a newbies in Laravel framework. I have a problem with namespaces (as I see) . I use a...

0 Likes
2 Replies
Solved

Call model on different namespace

Hi i have the following code <?php namespace Backend; use BaseController; use View; use App\Mode...

0 Likes
5 Replies

Constant LARAVEL_START already defined

im new to laravel im getting this notice when i go to the public folder of laravel Notice: Constant...

0 Likes
1 Replies

HTTP post with angular on a “before auth” laravel route

I authenticate my user only through laravel, so angular does not know about it. But I need to do a $...

0 Likes
1 Replies
Solved
posted 11 years ago

Class 'Monolog\Logger' not found

Today I was just updating my composer with 'composer update' and now I have the following error: Cla...

0 Likes
32 Replies
Solved

Relation HasOne with two Index

Hi, i have this models: [Turn] -> ID -> SpecialityID -> SubSpecialityID -> blabla [Spe...

0 Likes
6 Replies

Constant LARAVEL_START already defined

im new to laravel im getting this notice when i go to the public folder of laravel Notice: Constant...

0 Likes
0 Replies

Looking to Build A Commenting System for a Blog

Hi guys, I currently have a laravel blog, and I want to add a custom commenting system. What would b...

0 Likes
0 Replies

Mockery with $this->action

I can't seem to run a test with Mockery that uses $this->action instead of $this->call. I need...

0 Likes
1 Replies

CSRF for 3rd Party

I have incoming data from other trusted 3rd party. Is there any proper way i can handle CSRF? |-----...

0 Likes
1 Replies

Laravel Commenting System not Retrieving Correct ID of its Post

Hi guys, I created a commenting system for a blog. Comments belongTo a Post, and they BelongTo a use...

0 Likes
2 Replies

Using relationship a second time in same controller method

I need to use a relationship multiple times in the same method. I've broken it into multiple queries...

0 Likes
1 Replies
posted 10 years ago

Problem selecting colums using Eager Loading

Given this tables, how can I get certain columns? I have tried for two days but I have failed, Someo...

0 Likes
4 Replies
Solved
posted 10 years ago

Apply Blade filters for string

What is I want to do is shortcodes like on WordPress. When I get post content from database I want t...

0 Likes
0 Replies

Routes.php and a real directory

I have two CSS/JS directories because my site has a dashboard and a site. So I created a /public dir...

0 Likes
1 Replies

Call to a member function links() on a non-object

Trying to use out of the box laravel pagination in blade template: {{ $pages->links() }} In cont...

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.

© 2025 Laravel.io - All rights reserved.