Support the ongoing development of Laravel.io →

How to implement laravel request validation

Hello All, Now i am trying to implement laravel validation on my API controller, and here is my cont...

0 Likes
5 Replies
Solved

Validation Rule - Ignore on Update

Hi all - I'm stumped with rule validation on update. All the examples use a user class but if I crea...

0 Likes
3 Replies
Solved

Can't get Landlord multitenancy work all times

I'm fairly sure I have this multitenancy functioning part of the time but it's not working for 1 spe...

0 Likes
3 Replies
Solved
posted 9 years ago

How to mock the get method for Storage?

This is my controller: $file = Storage::get('app.apk'); $ret = new Response ($file, 200); $ret->h...

0 Likes
5 Replies

error laravel 5 undefined variable

controller public function index() { $meetingData = Newsnotice::news(); $meetingData=json_decode(jso...

0 Likes
2 Replies
posted 7 years ago

Mask amazon s3 files path as local path?

In my new project I store all files on s3 drive, can I override this url and set something like /sto...

0 Likes
1 Replies
posted 7 years ago

laravel queries calculating average

I want an average of all sales for the month of January in the whole table. My date_sold is in the f...

0 Likes
1 Replies
Solved
posted 7 years ago

Setting up gzip in the nginx .conf file

Hi, I'm following a pretty straightforward help file on digitalocean which shows how to set up gzip...

0 Likes
1 Replies
0 Likes
1 Replies

Homestead Team Compatibility

My agency is considering the possibility of setting up homestead as our development environment. As...

0 Likes
1 Replies

Trying to get property of non-object in laravel 5.3 app though model relations seems appropriate

User model class User extends Authenticatable{ public function enrollments() { return $this-...

0 Likes
1 Replies

Return View with, dynamically with added data

I want to add extra variables onto my return function. How can I do this? <?php namespace Ap...

0 Likes
1 Replies

Load class instance from Console command - Trying to get property of non-object

Hello, i have a class that im trying to create new instance from it from console command, and im get...

0 Likes
0 Replies

Good or not: Always add CSRF token to HTML

Hello, is it save to always add the CSRF token to the HTML code of the main layout? E. g.: <body...

0 Likes
4 Replies
Solved

Class Not Found Calling a Laravel Script from Supervisord

I'm using Laravel workers to execute some background tasks. When I invoke the worker using 'php arti...

0 Likes
1 Replies
Solved

Model Save causes Segmentation Fault

After saving a model from inside a command I am given the beautiful Segmentation Fault error. I am n...

0 Likes
1 Replies

Service providers/Containers and contacts. how they work exactly all together?

HI everyone, I'm just getting started with Laravel (5.3) so forgive the probably basic question. Aft...

0 Likes
0 Replies

Many-to-many with ID and relation, How would the model look?

I'm trying to build a database where an admin Can create lists that have can have tasks, now the tri...

0 Likes
0 Replies

Middleware auth logging me out?

Hi, I'm a bit new to laravel (and coding in general), so sorry if this question is basic! My issue r...

0 Likes
0 Replies
posted 10 years ago

How to mark up forum posts.

Markdown Forum posts can be marked up in a number of ways. For one, it supports a basic Markdown imp...

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

© 2024 Laravel.io - All rights reserved.