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

Parse view template

Hello, anyone know how to parse template file before render and preg replace something in view like...

0 Likes
0 Replies

Unit Testing

Can anyone help me with this? public function showList() { $userid = Auth::user()->id;...

0 Likes
0 Replies

Custom Alert on Session Timeout/Logout?

Hi all, I'm sure there's been something similar asked before I just can't seem to find the right sea...

0 Likes
1 Replies

Lavacharts, for the Google Chart API

Hello everyone, I recently released my first big project that I put alot of time and effort into and...

0 Likes
4 Replies

Can't get authenticated user in another controller

I am using ollieread's multi-auth package. That works and user logins properly but as my auth views...

0 Likes
0 Replies

Error after install package on Laravel 5 : Call to a member function make() on a non-object

Hey I want to use laravel 5. So I install it and everything is ok. Then I install package for mogno...

0 Likes
2 Replies
posted 10 years ago

Eloquent - Querying Count

Hello -- I would like to add a function to my model: (assume a blog where users have posts, and post...

0 Likes
1 Replies

variable not defined

I'm attempting to run Daryl Rees example of Games website. But when I launch my site I get the follo...

0 Likes
3 Replies

Migrate command canceled on Laravel 4.2.16?

After update to Laravel 4.2.16, migrate migrate --bench=......... command is canceled. Please help m...

0 Likes
3 Replies
Solved
posted 11 years ago

How to set the current page for the paginator?

I have a simple question about laravel pagination, I want to tell the query to take the page number...

0 Likes
4 Replies

homestead 404 not found error

Hi guys , I setup homestead and get this error : 404 Not Found nginx/1.6.2 This is my conf on mac...

0 Likes
2 Replies

convert sql query to laravel

Hello i need help to convert query to laravel select login,name from mt4_users,users_agents where mt...

0 Likes
1 Replies

How to pass additional parameters to the Eloquent model's create and update methods?

Hello everyone, I am a Laravel newbie and still trying to find my way around it. I am overloading th...

0 Likes
1 Replies
posted 10 years ago

Sub Domains through Routing/Filtering

Hi All, I'm working on a site that has a few variations that can be displayed depending on what the...

0 Likes
0 Replies

api-guard on nginx works... on XAMPP I am getting 404 :| {I uses => windows 7}

###I followed the installation instructions and I am close but apache may be acting different with t...

0 Likes
0 Replies

Handling SSH2 errors

I have this code $ssh = new Net_SSH2($all['ip']); if ($ssh->login($all['user'], $all['password'])...

0 Likes
1 Replies
posted 11 years ago

Blade templating, layout information.

Hey there, newcomer here. Just decided to register in this amazing comunity, which has helped me a l...

0 Likes
2 Replies

Eloquent group by relationship date

I have a topics and links tables on Laravel 4.2 with Eloquent ORM. They have a relationship like thi...

0 Likes
0 Replies

Laravel Unit Testing

#How to mock this one? return Redirect::back()->withErrors($validator); it always says: BadMethod...

0 Likes
0 Replies
posted 10 years ago

How to convert SQL query to proper LARAVEL query that includes self join?

How to properly convert SQL query: select a.* from active_user_data a join (select max(id) id ,user_...

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.