Skip to content

Symfony demo application showing how to handle exceptions in a custom way

License

Notifications You must be signed in to change notification settings

marek-pietrzak-tg/ExceptionListenerDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExceptionListenerDemo

Demo symfony application showing how to write a custom exception listener.

To start, install composer dependencies:

php composer.phar install

run a built-in server:

bin/console server:run

and send a curl GET request to the Greeting controller:

curl http://localhost:8000/greet/Marek -i

To check an exception listener, try to greet a thief:

curl http://localhost:8000/greet/Thief -i

About

Symfony demo application showing how to handle exceptions in a custom way

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages