Skip to content
PHP Ecosystem
Explore

yii\filters

API reference › yii › filters

NamespaceTypes
yii\filters\auth7
ClassSummary
AccessControlAccessControl provides simple access control based on a set of rules.
AccessRuleThis class represents an access rule defined by the AccessControl action filter.
AjaxFilterAjaxFilter allow to limit access only for ajax requests.
ContentNegotiatorContentNegotiator supports response format negotiation and application language negotiation.
CorsCors filter implements Cross Origin Resource Sharing.
HostControlHostControl provides simple control over requested host name.
HttpCacheHttpCache implements client-side caching by utilizing the Last-Modified and ETag HTTP headers.
PageCachePageCache implements server-side caching of whole pages.
RateLimiterRateLimiter implements a rate limiting algorithm based on the leaky bucket algorithm.
VerbFilterVerbFilter is an action filter that filters by HTTP request methods.
InterfaceSummary
RateLimitInterfaceRateLimitInterface is the interface that may be implemented by an identity object to enforce rate limiting.