fangx/hyperf-cookie

hyperf cookie support

v3.2.0 2021-07-19 06:41 UTC

This package is auto-updated.

Last update: 2021-11-19 07:36:57 UTC


README

Enhanced cookie function in hyperf

install

composer require fangx/hyperf-cookie

usage

<?php
namespace App\Services;

use Hyperf\Di\Annotation\Inject;

class Demo
{
  /**
   * @Inject
   * @var \Fangx\Cookie\Contracts\QueueingFactory
   */
  protected $cookie;
  
  public function demo()
  {
    //
  }
}