Support the ongoing development of Laravel.io →

256 Threads

Laravel mix versioning doesn't remove old built files

I am using Laravel 5.4 with mix to version my javascript and scss files. The problem is: it doesn't...

0 Likes
1 Replies
Solved

Tutorial Laravel 5.x create a simple web app

I'm newbie. I want to create a simple web app (ex: a forum only have home page and post pages, in ea...

0 Likes
1 Replies
Solved

How should I name an Eloquent polymorphic table?

I am using Laravel eloquent to design my database. Eloquent has a naming convention for naming a man...

0 Likes
1 Replies
Solved

Eloquent - relationship pivot table attributes

Hey, I am trying to create simple shopping cart / order module and I've decided to connect orders an...

0 Likes
2 Replies
Solved
posted 10 years ago

Calling a method from another method in a class.

I am new to OOP and am still trying to grasp all of the concepts. I am trying to figure out how to...

0 Likes
3 Replies
Solved

Alias service class to service class

I'm using https://github.com/kristijanhusak/laravel-form-builder for my forms. It creates 2 services...

0 Likes
1 Replies
Solved

Creating "Achievements" in Laravel

I have been looking at the possibilities of gamification on my webapp, which has been fun to think a...

0 Likes
7 Replies
Solved

Queued Job Dependencies

The app I'm working on now interacts with a number of third party services, in some cases more than...

0 Likes
3 Replies
Solved

Create Admin Panel

Hi, I want to create admin panel in my project. Please provide me steps for admin panel creation Tha...

0 Likes
4 Replies
Solved
posted 7 years ago

Prevent multiple signs of same values in table?

I have a tables user_id and event_id, every user can be added to every event, but how can I prevent...

0 Likes
2 Replies
Solved

How to modify $app at runtime?

Hi! i would like to dynamically change a path in my laravel 5.3 app from a middleware. How can I acc...

0 Likes
6 Replies
Solved

Place code in View, Controller or Model?

Hey guys, I am new to Laravel (5.3) and MVC in general. I currently working on my first Laravel App...

0 Likes
1 Replies
Solved

Set all controllers to "use Response;".

I am creating a restful api via Laravel 5. All of my reponsises will be "Response::json"....

0 Likes
6 Replies
Solved

Can't use Schema and Session class in a Middleware in Laravel 5.2?

Can I use Schema and Session class in a Middleware? I tried to use Schema::hasTable and Session::put...

0 Likes
3 Replies
Solved

Order by pivot table attribute in Eloquent

Hi Guys I have this query: $user = Auth::user(); $user->jobs()->get(); where jobs is a bel...

0 Likes
6 Replies
Solved

Laravel controller constructor not being run

I am running laravel v5.3.10 and the constructor is as given below, I tried using the auth middlewar...

0 Likes
3 Replies
Solved

Struggling Where to Put Domain Logic

Hey all, I've been leaning a lot about design patterns and the IoC in the past couple of weeks, and...

0 Likes
11 Replies
Solved

Custom Middleware throw error "Class App\Http\Middlware\AgeMiddleware does not exist"

Hi, I follow this tutorial http://www.tutorialspoint.com/laravel/laravel_middleware.htm.. whenever I...

0 Likes
3 Replies
Solved

how to concatenate variable in blade template

I have declare a variable in blade template, now i need to concatenate it in style sheet path. I wan...

0 Likes
2 Replies
Solved

Codeception writes in production db and reads from testing

I am trying to write functional tests for my app. I am using Laravel 5.2 and Codeception. I have a s...

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.

© 2024 Laravel.io - All rights reserved.