Directory of Churchy Websites and Social Network Pages
We want to show that many parishes, regional churches and dioceses do a good job in public relations and present those with their websites and social network pages at a map and tabularly. kirchen-im-web.de also compares the follower numbers of the social media pages.
Our Project is oecumenic, i. e. regardless whether Protestants, Catholic or free church - all can participate. You can simply add your church using our form.
The script cron.php
followerStatus = 2
.followerStatus = 0
means that the last follower update failed.
kirchen-im-web.de offers the data via a public API at https://kirchen-im-web.de/api/
which returns all the data on the selected churches in JSON format. Even if there is only one result for the query, the data is returned as a list.
Per default, the whole data is returned in JSON. Parameters can be used to reduce the number of entries which are returned.
Example: A call to https://kirchen-im-web.de/api/churches/?name=test
only returns data of the churches whose name contains the string test
.
Supported parameters:
ids
(optional):parent
(optional):options
allow to include the parent itself and grandchildren)name
(optional):postalCode
(optional):city
(optional):country
(optional):DE
for Germany).$countries
variable in the configuration file
denomination
(optional):$denominations
variable in the configuration filetype
(optional):$types
variable in the configuration filehasWebsiteType
(optional):$websites
variable in the configuration fileoptions=includeSelf,recursive
(optional):
parent
is given and options
contains childrenRecursive
,parent
is given and options
contains includeSelf
,The data of the church with the given id is returned in JSON. The entry id is the number in the URL of the details page.
Returns the (direct) children of the church with the given id in JSON.
Returns the follower history for the social networks of the church in csv or JSON.
type
: csv or JSON (default)composer install
and npm install
.npm run watch
to automatically compile *.scss
to *.css
*.js
to *.min.js
whenever the file is changed.database-scheme.sql
.config/config.php
with the database credentials and valid API keys/secretsconfig/config.sample.php
).npm run csCSS
to run a check for compliance with the guidelinesnpm run fixCSS
applies fixes for violations automatically.npm run csJS
to run a check for compliance with the guidelinesnpm run fixJS
applies fixes for violations automatically.composer csPHP
to run a check for compliance with the guidelinescomposer fixPHP
applies fixes for violations automatically.To run all checks, use composer cs
.
npm run production
.composer install --optimize-autoloader --no-dev
.config
, public
, src
, resources
, vendor
, andcron.php
.cache
and data
.