Support the ongoing development of Laravel.io →

whereBetween

whereBetween() takes a field and an array. Is there a way to do a between on 2 fields with an input?...

0 Likes
3 Replies

Retrieving database data from the Controller

how can i retrieve data from the database using a controller

0 Likes
1 Replies

Problem on $request->input()

I am using AngularJS (frontend) = my view + Laravel 5 (backend) = control and model. I am with probl...

0 Likes
1 Replies

Class not found

I am trying to insert data to db+ redirect to another page. Then I get this message: Whoops, looks l...

0 Likes
15 Replies

simple auth with role

Hi all, Don't know if this exists. I have a driver, a dispatcher, and an admin for the auth. I've be...

0 Likes
0 Replies
posted 10 years ago

Laravel 5 admin panel

I want to create an admin panel where only one admin will exist to manage the front end and there wi...

0 Likes
6 Replies

What is the different between Route::model() and Route::resource()

In Route model, I can use something like this: Route::model('tasks', 'App\Task'); and in Route resou...

0 Likes
2 Replies
Solved

Common time window

I have list of supplier with their working hour for each day with intervel of 60mi from opning hour...

0 Likes
0 Replies

NotFoundHttpException in RouteCollection.php line 161:

Hi guys, I've just created a fresh laravel project inside a website. Example: mysiteDocumentroot/lar...

0 Likes
0 Replies
posted 10 years ago

Combining the use of pagination and filtering collections

I have written some code that allows the user to filter a collection of activities by certain attrib...

0 Likes
5 Replies
Solved

Artisan Console - Understanding commands

I'm looking at L5.2's Artisan Console and "Writing commands" because I want to create cron...

0 Likes
1 Replies
Solved

Are artisan optimize/clear-compiled composer dump-autoload when deploying on envoyer

Are these commands required when deploying via envoyer? I am having a weird issue where my classes a...

0 Likes
0 Replies

syntax error, unexpected '<'

I'm creating a select in a form and I'd like to loop through 10 options printing out the numbers 1-1...

0 Likes
2 Replies
Solved

Undefined property: Illuminate\Database\Eloquent\Relations\HasMany::$due_date

I'm trying to create a collection of items that are over due. Here's my code Transaction.php /**...

0 Likes
1 Replies
Solved

Input validation and fomatting in Laravel 5.1 using FormRequest

I have Model Leave in my laravel 5.1 application. I want to do following things 1.Validate input dat...

0 Likes
0 Replies

Files in App/ folder not loading on production server, but are loading on my local server?

I'm using the Widget from: https://sky.pingpong-labs.com/docs/2.0/widget Everything works fine on my...

0 Likes
0 Replies

Middleware on 404?

Hey, is it possible to assign the web middleware to the 404 page? Best regards, Deazl

0 Likes
1 Replies

Gettings Error: TokenMismatchException in VerifyCsrfToken.php line 67: (Sometimes)

Hi, when i am creating a blog application, i am using Laravel 5.2, when i try to login, create, upda...

0 Likes
1 Replies

Eager load a polymorphic relation with a constraint

Hello all! I am not a professional programmer but I am trying to develop an application for my perso...

0 Likes
0 Replies
posted 9 years ago

Deploy Laravel on VPS

Hi people, i have a Laravel local app that i wanto to put online on my VPS. What's the best Practice...

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.