https://github.com/php/web-shared
Shared code across various .php.net sites
https://github.com/php/web-shared
Last synced: 6 months ago
JSON representation
Shared code across various .php.net sites
- Host: GitHub
- URL: https://github.com/php/web-shared
- Owner: php
- Created: 2013-12-13T00:02:43.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-11-26T22:13:56.000Z (over 1 year ago)
- Last Synced: 2025-01-29T21:23:37.623Z (over 1 year ago)
- Language: CSS
- Homepage: http://php.net
- Size: 117 KB
- Stars: 14
- Watchers: 17
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repo contains CSS stylesheets and PHP code/templates that are shared
across multiple .php.net websites to make code and layout reuse easier.
In production (e.g. hostname ends with '.php.net') it will point to
shared.php.net for all CSS+JS. It is also magically included via rsync
so there is no submodule required.
When running locally, you have to clone this repo and put it into your
web root as 'shared'.
To see the styles that are defined, you can run the standalone PHP server and
access the test page:
```sh
$ ln -s . shared
$ php -S localhost:9000
# view http://localhost:9000
```
If you are running a local version of one of the sites that uses
web-shared, you can also just access `http://localhost:PORT/shared/`