tymfrontiers-cdn / base-service.soswapp
7 OS Project Web Service
Installs: 124
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/tymfrontiers-cdn/base-service.soswapp
Requires
- tymfrontiers-cdn/php-api-authentication: >=0.1.0@stable
- tymfrontiers-cdn/php-generic: >=0.1.0@stable
- tymfrontiers-cdn/php-http-client: >=0.1@stable
- tymfrontiers-cdn/php-http-header: >=0.1@stable
- tymfrontiers-cdn/php-instance-error: >=0.1@stable
- tymfrontiers-cdn/php-multiform: >=0.1.0@stable
- tymfrontiers-cdn/php-sos-emailer: >=0.1.0@stable
README
Basic web service for 7 OS Project.
Installation & usage
composer require tymfrontiers-cdn/base-service.soswapp
Command path: /app/tymfrontiers-cdn/base-service.soswapp
Setting up custom command path
Add code below between ##-APP-SHORTCUT-START
and ##-APP-SHORTCUT-END
in .htaccess
file on your web project domain root.
##-tymfrontiers-cdn/base-service.soswapp-START
RewriteRule ^service/?$ /app/tymfrontiers-cdn/base-service.soswapp/ [QSA,NC,L]
RewriteRule ^service/([0-9a-zA-Z\-\.]{3,})/?$ /app/tymfrontiers-cdn/base-service.soswapp/service/$1.php [QSA,NC,L]
RewriteRule ^service/([0-9a-zA-Z\-\.]{3,})/([0-9a-zA-Z\-\.]{3,})/?$ /app/tymfrontiers-cdn/base-service.soswapp/service/$1-$2.php [QSA,NC,L]
RewriteRule ^service/(.*)$ /app/tymfrontiers-cdn/base-service.soswapp/$1 [QSA,NC,L]
##-tymfrontiers-cdn/base-service.soswapp-END
You can now access this app from /app/service
or /service
Services
Send mail
Sends email queued with tymfrontiers-cdn/php-sos-emailer
/run/sendmail
| /service/run-sendmail.php
Parameters
[limit]
integer | Number of emails to send per request
Authentication: tymfrontiers-cdn/php-api-authentication