PHPackages                             chomenko/confirm - 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. chomenko/confirm

ActiveExtensions

chomenko/confirm
================

v2.0.0(6y ago)0584PHPPHP &gt;=7

Since Mar 12Pushed 6y agoCompare

[ Source](https://github.com/chomenko/Confirm)[ Packagist](https://packagist.org/packages/chomenko/confirm)[ Docs](https://github.com/chomenko/Confirm)[ RSS](/packages/chomenko-confirm/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (4)Versions (7)Used By (0)

Confirm
=======

[](#confirm)

Confirm modal from Nette Framework

[![confirm](.docs/confirm.PNG)](.docs/confirm.PNG)

Required

- [doctrine/annotations](http://www.doctrine-project.org)
- [kdyby/events](https://github.com/kdyby/events)
- [chomenko/extra-form](https://github.com/chomenko/ExtraForm)
- [chomenko/modal](https://github.com/chomenko/modal)

Install
-------

[](#install)

```
composer require chomenko/confirm
```

- Configure [kdyby/events](https://github.com/Kdyby/Events/blob/master/docs/en/index.md)
- Configure [chomenko/extra-form](https://github.com/chomenko/ExtraForm)
- Configure [chomenko/modal](https://github.com/chomenko/modal)

And then you should enable the extension using your neon config.

```
extensions:
	Confirm: Chomenko\Confirm\DI\ConfirmExtension

#optionally
Confirm:
	translator: Chomenko\Translator\Translator
```

Usage
-----

[](#usage)

Use annotation `@Confirm`

in control:

```
