Support the ongoing development of Laravel.io →

297 Threads

How to access controller method from inside another controller

Hi, I'm a Laravel newbie and I'm quite confused about laravel architecture. Basically, I need to get...

0 Likes 6 Replies

Service Container not resolving the same inside Job

Running Lumen 5.2.6 When I fire up a Job, if I do this: public function handle(Application $app)...

0 Likes 0 Replies

Exception being thrown whenever an exception is thrown during unit testing with PHPUnit

New-ish to Laravel so pardon me if I'm getting something completely wrong. I'm wanting to start unit...

0 Likes 2 Replies
posted 6 years ago

how to share objects among routes

Hi every one! I have three routes, linking to different functions in the controller. Two of them set...

0 Likes 0 Replies
posted 7 years ago

Correct way to dispatch a new request inside the application and dealing with Request injection afterward

I am dealing with a restful api. Each controller deals with one type of object. Now the wish is to u...

0 Likes 5 Replies

[Package] Exception Handler

Custom exception handlers let you define the behavior of your application when a specific exception...

0 Likes 0 Replies

Laravel Policies - How to Pass Multiple Arguments to function

I'm looking for a way to pass more than just one variable to the policy function. According to the d...

0 Likes 0 Replies

Access Http\Kernel class form controller

is it possible to access all the properties of Http\Kernel class from a controller. I want to make a...

0 Likes 0 Replies

Password::reset without email field

Hello how can I override Password::reset so that it takes only token and password without email ? A...

0 Likes 2 Replies

for a while.. apologize

http://otdk.ttk.pte.hu/?q=node/16517 http://otdk.ttk.pte.hu/?q=node/16518 http://otdk.ttk.pte.hu/?q=...

0 Likes 0 Replies
posted 6 years ago

Dynamic configuration in route group definition

Hi all We've used the config() helper to allow application developers to configure our predefined ro...

0 Likes 0 Replies
posted 6 years ago

Dynamic repositories

Hello, I have a lot of repetitive repository classes, like: class UserRepository extends Repository...

0 Likes 2 Replies

Structuring Application for intensive facebook graph api request

Hi all, I am new to laravel framework so this might be very basic question to ask. Application Backg...

0 Likes 0 Replies

Increase Laravel Performance

I'm thinking about how it would be increase performance if we keep IoC container in Redis Cache Duri...

0 Likes 0 Replies

How to Use/Start Laravel Services in "ConfigureLogging" Overridden File?

I have to create separate log files for the companies Laravel 5. I have already done this in Laravel...

0 Likes 0 Replies

Custom Validator Error

Hi Guys, I'm trying to centralize validation rules. I want to re use it every time i validate a form...

0 Likes 0 Replies

Package middleware group register

Hello, how can I register middlewareGroup middlewares in my package? Because I don't want to registe...

0 Likes 2 Replies
posted 6 years ago

Multiple Events for One Listener

Is it possible to listen for different events with the same listener? Assuming the events were ident...

0 Likes 1 Replies

How can I specify the order of the middleware?

I have an additional middleware registered as "admin" which checks if the user is admin. p...

0 Likes 1 Replies

Intermediate page after submitting form but before saving model

I am trying to add essentially a "confirmation" (or "place order/go back") page...

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

© 2022 Laravel.io - All rights reserved.