Tag:design-pattern

  • Quickly create different types of proxies in Laravel applications

    Time:2022-11-2

    laravel-proxy-manager– IntegrationOcramius/ProxyManagerto the Laravel application. Function Quickly create different types of proxy instances. Quickly bind different types of proxy instances to containers. Rapid scaling for different types of proxy instances to containers. Install $ composer require guanguans/laravel-proxy-manager -vvv $ php artisan vendor:publish –provider=”Guanguans\\LaravelProxyManager\\ProxyManagerServiceProvider” use Get proxy manager instance app(\Guanguans\LaravelProxyManager\ProxyManager::class); resolve(\Guanguans\LaravelProxyManager\ProxyManager::class); Proxy Manager Facade Methods <?php […]