This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

dev-master 2020-02-27 16:55 UTC

This package is auto-updated.

Last update: 2021-09-27 20:28:21 UTC


The best way to install this extension is using Composer:

$ composer require librette/confirmation-dialog


You can use confirmation dialog in handle* methods in presenters and controls.

class ArticleControl extends Control
	use Librette\ConfirmationDialog\TConfirmation;

	public function handleRemove($id)
		$article = $this->articleRepository->get($id);
		if($this->confirm("Do you really want to delete article {$article->title}?")) {
		} elseif($this->isConfirmationCancelled()) {