GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Laudanum/php-extras: Collection of helper PHP functions (pre-execution)

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
Multi_prepend.php
Multi_prepend.php
 
 
ProxyHelper_prepend.php
ProxyHelper_prepend.php
 
 
README.md
README.md
 
 
SSLHelper_prepend.php
SSLHelper_prepend.php
 
 
WordPressHelper.php
WordPressHelper.php
 
 
WordPressHelper_prepend.php
WordPressHelper_prepend.php
 
 

Repository files navigation

PHP Extras

Collection of helper PHP classes. These are used by docker-php-apache and docker-apache-mvh containers. These are fairly specific at the moment but we hope to make then more generic in the future. We welcome contributions.

Usage Example

Set the following php.ini variable to enable the SSL helper:

auto_prepend_file=SSLHelper_prepend.php

or for Apache conf:

<Directory /srv/www/>
    AllowOverride All
    Require all granted
   <If "-T env('BEHIND_PROXY')">
      php_value auto_prepend_file "ProxyHelper_prepend.php"
   </If>
</Directory>

Docker installation

To install in a Docker image:

# Install PHP Extras
RUN cd /tmp \
  && curl -s -L https://github.com/panubo/php-extras/archive/master.tar.gz -o /tmp/master.tar.gz \
  && mkdir -p /usr/share/php \
  && tar --wildcards -C /usr/share/php/ -xvf master.tar.gz --strip 1 '*.php'  \
  && rm -f /tmp/master.tar.gz

About

Collection of helper PHP functions (pre-execution)

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.