All Projects → php-fig → Www.php Fig.org

php-fig / Www.php Fig.org

Licence: mit
Source for the PHP-FIG website

Labels

Projects that are alternatives of or similar to Www.php Fig.org

Platform
Shopware 6 is an open source eCommerce platform realised by the ideas and the spirit of its community.
Stars: ✭ 1,267 (+838.52%)
Mutual labels:  twig
Knppaginatorbundle
SEO friendly Symfony paginator to sort and paginate
Stars: ✭ 1,534 (+1036.3%)
Mutual labels:  twig
Symfony Demo App
A Symfony demo application with basic user management
Stars: ✭ 122 (-9.63%)
Mutual labels:  twig
String Extra
Unicode/String support for Twig
Stars: ✭ 92 (-31.85%)
Mutual labels:  twig
Twig
Twig - less is more's web server for golang
Stars: ✭ 98 (-27.41%)
Mutual labels:  twig
User Bundle
A new Symfony user bundle
Stars: ✭ 116 (-14.07%)
Mutual labels:  twig
Symfony4
Screencast code, script and tandem bikes behind the "Stellar Development with Symfony 4" tutorial
Stars: ✭ 78 (-42.22%)
Mutual labels:  twig
Stick
A golang port of the Twig templating engine
Stars: ✭ 132 (-2.22%)
Mutual labels:  twig
Markdown Extension
[DEPRECATED] Markdown support for Twig
Stars: ✭ 105 (-22.22%)
Mutual labels:  twig
Detoxify App
📱🙅 Generate a fake app to replace any addictive app
Stars: ✭ 122 (-9.63%)
Mutual labels:  twig
Cssinliner Extra
CSS Inliner support for Twig
Stars: ✭ 93 (-31.11%)
Mutual labels:  twig
Twig Deferred Extension
An extension for Twig that allows to defer block rendering.
Stars: ✭ 97 (-28.15%)
Mutual labels:  twig
Twital
Twital is a "plugin" for Twig that adds some sugar syntax, which makes its templates similar to PHPTal or VueJS.
Stars: ✭ 116 (-14.07%)
Mutual labels:  twig
Twigfiddle
twigfiddle.com provides a small development environment to develop, run, store and access Twig code online.
Stars: ✭ 87 (-35.56%)
Mutual labels:  twig
Craft
Composer starter project for Craft CMS
Stars: ✭ 122 (-9.63%)
Mutual labels:  twig
Kimai2
Kimai v2 is a web-based multiuser time-tracking application. Free for everyone: freelancers, agencies, companies, organizations - all can track their times, generate invoices and more. SaaS version available at https://www.kimai.cloud
Stars: ✭ 1,216 (+800.74%)
Mutual labels:  twig
Twig Extensions
Twig extensions
Stars: ✭ 1,469 (+988.15%)
Mutual labels:  twig
Chyrp Lite
An ultra-lightweight blogging engine, written in PHP.
Stars: ✭ 131 (-2.96%)
Mutual labels:  twig
Yii2 Twig
Yii 2 Twig extension.
Stars: ✭ 130 (-3.7%)
Mutual labels:  twig
Stitcher Core
High performance, static websites for PHP developers
Stars: ✭ 120 (-11.11%)
Mutual labels:  twig

www.php-fig.org

This is the source for www.php-fig.org. It is a static site generated with Sculpin.

Contributing

  • If you notice something missing, please open an issue on GitHub.

  • If you'd like to fix it yourself, simply edit the file on GitHub and open a pull request. The site will be recompiled as soon as your pull request is merged.

  • If you'd like to run the site locally o generate the HTML files, you'll need to install the dependencies. The templates are built by directly including the Markdown sources from the fig standards repo, which is provided as a git submodule.

Clone

Note the --recursive flag to clone the submodule too.

git clone --recursive https://github.com/php-fig/www.php-fig.org

Install

While the project was ported from Jekyll to Sculpin to use PHP, some Ruby dependencies are still present. This will probably change in the future.

bin/install.sh

will install both PHP Composer packages and Ruby bundled gems.

Build

bin/build.sh

will compile the sources into output_dev.

Run

vendor/bin/sculpin serve

Updating the submodule

This site uses the master branch of the main PHP-FIG repository as a Git submodule to pull content from it. If you need to update it, you can use the bin/update_submodule.sh script to pull new commits. Afterwards, you can commit the differences in this repo, to push the updates afterwards.

Using Docker

A multistage Dockerfile is provided, in case you want to build and/or run everything without installing any dependency whatsoever. Docker version 17.09.0-ce or newer is required.

The final image is a simple NGINX instance:

docker build . -t fig-website
docker run --rm -p 80:80 fig-website
# browse the website at http://localhost

However, you can use the dev target, which provides an interactive terminal to access a fully provisioned PHP+Ruby environment.

If you want to develop in the Docker runtime, you'll have mount the project root as a volume, expose port 8000, explicitly run the install/build process, and run the PHP built-in server:

docker build . --target dev -t fig-website-dev
docker run --rm -ti -p 8000:8000 -v $PWD:/fig-website fig-website-dev
# inside the container terminal
install.sh
build.sh
sculpin serve

Note that:

  • inside the container, relevant executables are in the global PATH
  • the container is executed with user and group with id 1000 by default, which will likely match your main host user. You can change the id via the UID and GID build-time variables (--build-arg).
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].