Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

[Proposal] Support AOP with php8 Attribute #2654

Open
biiiiiigmonster opened this issue Jun 30, 2021 · 0 comments
Open

[Proposal] Support AOP with php8 Attribute #2654

biiiiiigmonster opened this issue Jun 30, 2021 · 0 comments

Comments

@biiiiiigmonster
Copy link

biiiiiigmonster commented Jun 30, 2021

With the introduction of Attribute in php8, will laravel implement AOP based on this?

As far as I know, AOP implementation mechanism in other languages (java) is proxy mechanism, but it seems rude based on the traditional php-fpm mode, and it may also cause some performance loss.

However, AOP can make the code more elegant, which is very consistent with the style of laravel. And with the laravel/octane, the performance loss will no longer affect. If laravel/octane can become the mainstream in the future, AOP will also help better!

@biiiiiigmonster biiiiiigmonster changed the title [Feature] Support AOP with php8 [Feature] Support AOP with php8 Attribute Jun 30, 2021
@biiiiiigmonster biiiiiigmonster changed the title [Feature] Support AOP with php8 Attribute [Proposal] Support AOP with php8 Attribute Jun 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant