Support the ongoing development of Laravel.io →

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 11 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 11 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 11 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 11 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 11 years ago

beforeFilter() method

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

0 Likes
4 Replies
Solved
posted 11 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
posted 11 years ago

Package Dependencies

I'm developing a package on the workbench. My package need's another package: https://github.com/aws...

0 Likes
0 Replies

Update/replace value with new values inputted in laravel 4.2

We know laravel has an update() method that update records through "put" http method. Ever...

0 Likes
3 Replies

Setting wait_timeout on MySQL connection

I need to set the session wait_timeout on my MySQL connections, and I'd like to do it lazily (i.e on...

0 Likes
1 Replies

Determine nested query in Query\Builder's function newQuery()

I have an application where multiple accounts use the same database. To specify what row belongs to...

0 Likes
0 Replies

Scheme Builder - tinytext is an undefined function? Laravel 4.2

Hi, I am trying to set up the migrations for my table and I can't seem to use $table->tinytext('c...

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.

© 2025 Laravel.io - All rights reserved.