Symfony-check

Check if your symfony application is ready for deployment

Display an unavailable message during maintenance operations
  • high
  • design

The bigger your website becomes, the slower some symfony tasks will be.

At some point, these operations will substantially slow down your application and disturb your users.

Displaying a clean maintenance screen is usually a better choice than providing a degrated navigation experience to your users.

To redirect automatically the users to the customized unavailable.php page when you launch tasks like php symfony cc, modify the apps/frontend/config/settings.yml file:

all:
  .settings:
    check_lock:    true