AlertifyBundle Versions Save

Harmonize notifications in your Symfony app.

3.1.0

3 years ago

3.0.13

4 years ago

3.0.10

6 years ago

3.0.9

6 years ago

Custom header

If you want to force the trigger of an alert, after an ajax call for example, you need to send through the response a custom header : X-Inject-Alertify. When its value is set to true, then the alert append at the end of the response content, even if it is empty. Note that the 204 status code (No content) is incompatible with this header, as the 204 response MUST NOT include a message-body.

Example :

return new Response(null, 200, [
	'X-Inject-Alertify' => true
]);

3.0.7

6 years ago

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

2.0.3

7 years ago

3.0.0

7 years ago

Please note that the troopers_alertifybundle.helper.alertifyhelper has been renamed into alertify