Support the ongoing development of Laravel.io →

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 10 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 9 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 9 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
posted 9 years ago

Escaping blade content

How do I escape blade content? I'd like to output @extends('blah.blah') in the output, but not sure...

0 Likes
1 Replies
Solved
posted 9 years ago

How to evaluate pagination links

Hi, I have posts and comments tables. Post and Comment have one-to-many relationship. I have written...

0 Likes
10 Replies
posted 9 years ago

beforeFilter() method

Hello everybody! My question is, where to find any documentation about the "beforeFiler()"...

0 Likes
4 Replies
Solved
posted 9 years ago

Routing with subfolder

Hey, i have this route Route::get('report/{id?}', array('as' => 'report', function($id = null) {...

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

© 2024 Laravel.io - All rights reserved.