All Projects → ninsuo → Twigfiddle

ninsuo / Twigfiddle

Licence: mit
twigfiddle.com provides a small development environment to develop, run, store and access Twig code online.

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Twigfiddle

Planet4 Master Theme
Wordpress master theme for the Greenpeace Planet 4 project
Stars: ✭ 34 (-60.92%)
Mutual labels:  twig
Inky Extension
[DEPRECATED] Inky email template engine support for Twig
Stars: ✭ 57 (-34.48%)
Mutual labels:  twig
Html Compress Twig
Twig extension for compressing HTML and inline CSS/JS using WyriHaximus/HtmlCompress
Stars: ✭ 72 (-17.24%)
Mutual labels:  twig
Twig Lambda
Lambda expressions for Twig and filters that make use of them
Stars: ✭ 40 (-54.02%)
Mutual labels:  twig
Fmbbcodebundle
🔠 BBCode bundle for Symfony projects
Stars: ✭ 56 (-35.63%)
Mutual labels:  twig
Awesome Twig
A curated list of amazingly awesome Twig extensions, snippets and tutorials
Stars: ✭ 63 (-27.59%)
Mutual labels:  twig
Puppy
Starter kit and delivery system for building static prototypes with Twig
Stars: ✭ 25 (-71.26%)
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 (+1297.7%)
Mutual labels:  twig
Encryption365 baota
由 环智中诚™ (TrustOcean Limited) 开发的基于宝塔面板的自动化SSL证书申请、验证、部署、续期客户端
Stars: ✭ 56 (-35.63%)
Mutual labels:  twig
Slim3
Slim Framework 3 Skeleton Application
Stars: ✭ 70 (-19.54%)
Mutual labels:  twig
Sugar
Some bonus functionality for Timber
Stars: ✭ 44 (-49.43%)
Mutual labels:  twig
Generator Baukasten
Awesome!
Stars: ✭ 50 (-42.53%)
Mutual labels:  twig
Generator Kittn
The Yeoman Kittn Generator
Stars: ✭ 63 (-27.59%)
Mutual labels:  twig
Idea Php Drupal Symfony2 Bridge
PhpStorm plugin to support Symfony components inside Drupal 8
Stars: ✭ 34 (-60.92%)
Mutual labels:  twig
Meadow
WordPress templating DSL based on Twig.
Stars: ✭ 73 (-16.09%)
Mutual labels:  twig
Amptwigtheme
AMP oriented theme for Twig template engine
Stars: ✭ 33 (-62.07%)
Mutual labels:  twig
Coyote
4programmers.net
Stars: ✭ 61 (-29.89%)
Mutual labels:  twig
Platform
Shopware 6 is an open source eCommerce platform realised by the ideas and the spirit of its community.
Stars: ✭ 1,267 (+1356.32%)
Mutual labels:  twig
Symfony4
Screencast code, script and tandem bikes behind the "Stellar Development with Symfony 4" tutorial
Stars: ✭ 78 (-10.34%)
Mutual labels:  twig
Twig Cache Extension
Stars: ✭ 67 (-22.99%)
Mutual labels:  twig

Welcome

This is the project's repository, come here if you found a bug, if you want to request new features or if you want to contribute.

If you need help to use twigfiddle, please read the twigfiddle's help page.

Some words about the project

The project is made of 2 applications:

  • cli directory contains the fiddle runner, an application built using Symfony components to execute a fiddle.

  • web directory contains the web application, built using the Symfony framework

About the other directories:

  • resources directory contains specification documentations, logo source and original integrated design.

  • samples contains exported fiddles (see app/console custom commands)

  • environment is the default directory containing fiddles at runtime

  • debug is the default directory where crashed fiddles are stored

Installation

Here are instructions to get started with the application. Of course, replace paths to fit with your own environment.

# Clone the project
git clone https://github.com/ninsuo/twigfiddle.git twigfiddle
cd twigfiddle

# install Composer
php -r "readfile('https://getcomposer.org/installer');" | php
sudo mv composer.phar /usr/bin/composer
sudo chmod 755 /usr/bin/composer

# Install the fiddle runner and prepare all twig versions
cd cli
composer install
cd twig
sh prepare.sh
cd ../../

# Install the web application
# composer update will fail when trying to remove apc cache, that's normal at this step
cd web
composer install

# Install the database
# You should create it yourself, from mysql, type:
# CREATE DATABASE twigfiddle
# GRANT ALL PRIVILEGES ON twigfiddle.* To '<user>'@'127.0.0.1' IDENTIFIED BY '<password>';
php app/console doctrine:schema:drop --force
php app/console doctrine:schema:create
php app/console twigfiddle:import ../samples/*

# Check that everything is working properly
composer update
php app/check.php
phpunit tests

# Launch the application
php app/console server:start
open http://127.0.0.1:8000/hello

Automatically download, install and configure new Twig releases

Simply run the following command:

php cli/run-prod.php twigfiddle:release:watcher

Upgrade for installs before 01/11/2016

User provider have been refactored ( see #18 ), you need to run the following queries to upgrade twigfiddle schema.

alter table user add column nickname varchar(255) not null after username;
update user set nickname = username;
update user set username = concat('["', resource_owner, '","', resource_owner_id, '"]');

Configure external services

Don't panic, that's optional.

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].