Support the ongoing development of Laravel.io →

[PROBLEM] asset() not point to public folder in Laravel 5.2

Hi everyone. after install Laravel 5.2 , And I was copy download img (name:t.jpg) to public folder(...

0 Likes
1 Replies

[5.2] - Using a custom connection in your models

So I have a command that creates a database connection on the fly like so: protected function creat...

0 Likes
1 Replies

Problem with deploying laravel on a web server

I'am getting the following error: */ /* |-----------------------------------------------------------...

0 Likes
1 Replies

Is it possible to inject an interface into Laravels Kernel.php?

I am currently refactoring my Laravel 5 project in order to make use of the Repository Design Patter...

0 Likes
1 Replies

middleware issue

Hello everyone, I want to do something like this: public function destroy($id) { $user = Auth::u...

0 Likes
1 Replies
posted 9 years ago

can laravel docs site can have go to top button

while checking out docs for some queries , i have reached to the bottom of page. if i need to search...

0 Likes
1 Replies

Services and business logic

Hi Unfortunately this is one of those "where do I put that?" type questions and generates...

0 Likes
2 Replies
posted 9 years ago

How can I route pages that create by pagination to a controller

When get data from database like this $reviews = Review::latest('created_at')->paginate(5); Lara...

0 Likes
1 Replies

Use session('key') in config/app.php

Hello, I want to have 'locale' => session('locale'), But I get : Fatal error: Uncaught Reflection...

0 Likes
1 Replies

Best practice

If i need to put two variables in blade, for example name and surname, which of this two option is t...

0 Likes
1 Replies
posted 10 years ago

Difference between "file" vs "cookie" session driver

What is the difference between "file" vs "cookie" session driver?

0 Likes
5 Replies
Solved

Planning new security api , What do you want it to be ?

Hi I am Eslam Salem I am the CEO & Founder of Shieldfy. We at shieldfy decided to plan and relea...

0 Likes
0 Replies

A form with some fields hidden based on a condition.. is not very safe

I'm creating a form with Form::model , but when defining the fields i sometimes do this: @if (Auth::...

0 Likes
5 Replies
posted 9 years ago

The impact of Console\Commands on PHPUnit and Xdebug (code coverage)

TL;DR Every time a unit test is run, all Commands are instantiated, and any dependencies injected in...

0 Likes
3 Replies

how to save array of json Laravel Vue

I posted this question on Laracast forum.However,I have not got a solution,so please excuse me to po...

0 Likes
1 Replies
posted 9 years ago

How to browse an sqlite database?

Im a new developer of just a few weeks. So far so good. but i cant seem to find a way to browse an s...

0 Likes
2 Replies
posted 9 years ago

Model events not firing

Greetings... I am updating some models in this fashion: Foo::where('name', '=', 'bar')->update(['...

0 Likes
3 Replies
Solved
posted 10 years ago

Force SSL for Server Behind Load-balancer

I'm having an issue with an application (Lanager) running on a VM inside of my network. The load-bal...

0 Likes
2 Replies
posted 9 years ago

Route POST error 500

Hi,I I'm a beginner,I have a problem about Route. I write a post route,when I click submit on brows...

0 Likes
5 Replies
Solved

Delete record with modal

Good afternoon folks, I need your help, I have this car brands list with a button to edit and delete...

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.