PHPackages                             vados/phalcon-http-methods-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. vados/phalcon-http-methods-plugin

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

vados/phalcon-http-methods-plugin
=================================

Phalcon plugin for checking access by HTTP Method of request

0.1(7y ago)077BSD-2-ClausePHPPHP &gt;=7.1.0

Since Jan 4Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ScaryDonetskiy/Phalcon-HTTP-Methods-Plugin)[ Packagist](https://packagist.org/packages/vados/phalcon-http-methods-plugin)[ RSS](/packages/vados-phalcon-http-methods-plugin/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

HTTP Methods Plugin for Phalcon PHP
===================================

[](#http-methods-plugin-for-phalcon-php)

[![Packagist](https://camo.githubusercontent.com/9dfa2bc1dca166244588614de9637b9789c0d5a24fd39f9074030ed89c373a60/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7661646f732f7068616c636f6e2d687474702d6d6574686f64732d706c7567696e2e737667)](https://camo.githubusercontent.com/9dfa2bc1dca166244588614de9637b9789c0d5a24fd39f9074030ed89c373a60/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7661646f732f7068616c636f6e2d687474702d6d6574686f64732d706c7567696e2e737667)[![PHP from Packagist](https://camo.githubusercontent.com/e45063c066119e37f00ad0c4f7a3346f5a810e94aef8dd607b86a55ec501da53/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7661646f732f7068616c636f6e2d687474702d6d6574686f64732d706c7567696e2e737667)](https://camo.githubusercontent.com/e45063c066119e37f00ad0c4f7a3346f5a810e94aef8dd607b86a55ec501da53/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7661646f732f7068616c636f6e2d687474702d6d6574686f64732d706c7567696e2e737667)[![Packagist](https://camo.githubusercontent.com/f2622748f4b534ae96d20958a5794db556e5c7094e03c18d05dab2c2d6ba6a0e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7661646f732f7068616c636f6e2d687474702d6d6574686f64732d706c7567696e2e737667)](https://camo.githubusercontent.com/f2622748f4b534ae96d20958a5794db556e5c7094e03c18d05dab2c2d6ba6a0e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7661646f732f7068616c636f6e2d687474702d6d6574686f64732d706c7567696e2e737667)[![GitHub Issues](https://camo.githubusercontent.com/49dbbbe5f9ede1fd4754c2117d9291938bb26406a7de7503689961f9c484c085/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d7261772f5363617279446f6e6574736b69792f5068616c636f6e2d485454502d4d6574686f64732d506c7567696e2e737667)](https://camo.githubusercontent.com/49dbbbe5f9ede1fd4754c2117d9291938bb26406a7de7503689961f9c484c085/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d7261772f5363617279446f6e6574736b69792f5068616c636f6e2d485454502d4d6574686f64732d506c7567696e2e737667)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/034bca8f1bf554920ba2009f5fb2462c9955cffcb626bc01e31415bd37b06d4b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5363617279446f6e6574736b69792f5068616c636f6e2d485454502d4d6574686f64732d506c7567696e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ScaryDonetskiy/Phalcon-HTTP-Methods-Plugin/?branch=master)[![Travis CI Status](https://camo.githubusercontent.com/8007a2695e18ec7af037d536ce5f1a889066e82aa5d5a4caaea42bf32a8f28a8/68747470733a2f2f7472617669732d63692e6f72672f5363617279446f6e6574736b69792f5068616c636f6e2d485454502d4d6574686f64732d506c7567696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ScaryDonetskiy/Phalcon-HTTP-Methods-Plugin)

Phalcon plugin for checking access by HTTP Method of request.

You can select one or more HTTP methods for action availability from this: GET, POST, PUT, DELETE.

Works with PHP 7.1+

### Usage

[](#usage)

Plugin require availability 'Annotations' and 'Request' components in application DI container.

```
$dispatcher = new \Phalcon\Mvc\Dispatcher();
$eventManager = new \Phalcon\Events\Manager();
$eventManager->attach('dispatch:beforeExecuteRoute', new \Vados\PhalconPlugins\HTTPMethodsPlugin());
$dispatcher->setEventsManager($eventManager);
```

And just take annotations to controllers actions

```
class FooController extends \Phalcon\Mvc\Controller
{
    /**
     * @Method(GET, POST, PUT, DELETE)
     */
    public function barAction()
    {
        return 'foobar';
    }
}
```

### Installation

[](#installation)

Use composer for installation

```
composer require vados/phalcon-http-methods-plugin
```

### Contribution guidelines

[](#contribution-guidelines)

- Writing tests
- Code review
- Guidelines accord

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2682d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/216eec3c0dc8a29977c9a5790e5e821cca6b2b41412934ef53b35f9ed04a91f7?d=identicon)[ScaryDonetskiy](/maintainers/ScaryDonetskiy)

---

Tags

httphttp-methodmvcphalconphalcon-pluginphpphp7phpunit-testsplugin

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vados-phalcon-http-methods-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/vados-phalcon-http-methods-plugin/health.svg)](https://phpackages.com/packages/vados-phalcon-http-methods-plugin)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M317](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M292](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
