Search by

tengliyun / laravel-interceptor

jundayw

A lightweight AOP interceptor for Laravel.

Package info

github.com/tengliyun/laravel-interceptor

pkg:composer/tengliyun/laravel-interceptor

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main / 1.x-dev 2026-09-15 06:25 UTC

This package is not auto-updated.

Last update: 2026-09-16 04:51:21 UTC


README

Laravel Interceptor

A lightweight AOP interceptor for Laravel.

Laravel Interceptor is a lightweight interceptor/AOP component for Laravel.

Without modifying your business code, you can implement cross-cutting concerns such as logging, authorization, caching, transactions, monitoring, auditing, parameter validation, and result handling—allowing business classes to focus only on core business logic. It is ideal for projects that want to enhance Laravel methods in a non-invasive way, especially existing projects that need a unified approach to handling logic before and after methods.

GitHub Tag Total Downloads Packagist Version Packagist PHP Version Support Packagist License

Table of Contents
  1. Roadmap
  2. Installation
  3. Usage
  4. Contributing
  5. Contributors
  6. License

Roadmap

  • interceptor:compile
  • proxy
  • hook
  • event

See the GitHub Open Issues for a full list of proposed features (and known issues).

[back to top]

Installation

You can install the package via Composer:

composer require tengliyun/laravel-interceptor

[back to top]

Usage

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

[back to top]

Contributors

Thanks goes to these wonderful people:

contrib.rocks image

Contributions of any kind are welcome!

[back to top]

License

Distributed under the MIT License (MIT). Please see License File for more information.

[back to top]