WeExpire is the first opensource tool for creating emergency notes that can be read by your trusted contacts only after your death or if you are seriously injured.
138
stars
64
commits
PHP
primary language
Sep 10, 2026
updated
WeExpire.org is the first opensource tool for creating emergency notes that can be read by your trusted contacts only after your death or if you are seriously injured.
git clone https://github.com/ciccionamente/WeExpire.git
utf8mb4_unicode_ci collation, name it we_expire and import the we_expire.example.sql configuration file into itconfiguration.example.php file into underwear/environment_variables and rename it as configuration.phpconfiguration.php filehtdocs folder as the main root directory for your server configurationIf you are using Apache (locally or in production), include the following .htaccess file inside the htdocs folder to enable correct routing for all pages:
RewriteEngine On
RewriteBase /
# Remove trailing slash from non-existing files/directories
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ /$1 [R=301,L]
# Redirect .php URLs to clean URLs (e.g., /start.php → /start)
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php[?\s] [NC]
RewriteRule ^([^.]+)\.php$ /$1 [R=301,L]
# Internally rewrite clean URLs to corresponding .php files if they exist
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^([a-zA-Z0-9/_-]+)$ $1.php [L]
# Redirect /index to root (/)
RewriteCond %{THE_REQUEST} /index\.php [NC]
RewriteRule ^index\.php$ / [R=301,L]
# Handle language-prefixed paths (e.g., /it/start → /start.php?l=it)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{DOCUMENT_ROOT}/$2.php -f
RewriteRule ^(en|es|fr|it)/(.+)$ /$2.php?l=$1 [NC,L]
# Language redirect for root-level language paths (e.g., /en → /?l=en)
RewriteRule ^(en|es|fr|it)/?$ /?l=$1 [NC,L]
git clone https://github.com/ciccionamente/WeExpire.git
docker-compose.yml file's environment variables for the we_expire container/servicedocker-compose up -dContributions that are not time-consuming and made for improving WeExpire's security, efficiency or accessibility are greatly appreciated.
Distributed under the GPLv3 License. See LICENSE for more information.
A special thanks goes to the following people who have contributed to this project:
Another special thanks goes to these opensource third-party libraries and frameworks that have been used in this project:
If you want to contribute with a simple donation, you can do it via Buy Me a Coffee.
PHP
100.0%
WeExpire is the first opensource tool for creating emergency notes that can be read by your trusted contacts only after your death or if you are seriously injured.
138
stars
64
commits
PHP
primary language
Sep 10, 2026
updated
WeExpire.org is the first opensource tool for creating emergency notes that can be read by your trusted contacts only after your death or if you are seriously injured.
git clone https://github.com/ciccionamente/WeExpire.git
utf8mb4_unicode_ci collation, name it we_expire and import the we_expire.example.sql configuration file into itconfiguration.example.php file into underwear/environment_variables and rename it as configuration.phpconfiguration.php filehtdocs folder as the main root directory for your server configurationIf you are using Apache (locally or in production), include the following .htaccess file inside the htdocs folder to enable correct routing for all pages:
RewriteEngine On
RewriteBase /
# Remove trailing slash from non-existing files/directories
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ /$1 [R=301,L]
# Redirect .php URLs to clean URLs (e.g., /start.php → /start)
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php[?\s] [NC]
RewriteRule ^([^.]+)\.php$ /$1 [R=301,L]
# Internally rewrite clean URLs to corresponding .php files if they exist
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^([a-zA-Z0-9/_-]+)$ $1.php [L]
# Redirect /index to root (/)
RewriteCond %{THE_REQUEST} /index\.php [NC]
RewriteRule ^index\.php$ / [R=301,L]
# Handle language-prefixed paths (e.g., /it/start → /start.php?l=it)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{DOCUMENT_ROOT}/$2.php -f
RewriteRule ^(en|es|fr|it)/(.+)$ /$2.php?l=$1 [NC,L]
# Language redirect for root-level language paths (e.g., /en → /?l=en)
RewriteRule ^(en|es|fr|it)/?$ /?l=$1 [NC,L]
git clone https://github.com/ciccionamente/WeExpire.git
docker-compose.yml file's environment variables for the we_expire container/servicedocker-compose up -dContributions that are not time-consuming and made for improving WeExpire's security, efficiency or accessibility are greatly appreciated.
Distributed under the GPLv3 License. See LICENSE for more information.
A special thanks goes to the following people who have contributed to this project:
Another special thanks goes to these opensource third-party libraries and frameworks that have been used in this project:
If you want to contribute with a simple donation, you can do it via Buy Me a Coffee.
PHP
100.0%