electrolinux / yaskef
A PHP,SQL,Javascript live interpreter based on the Silex-Kitchen-Edition.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 141
Open Issues: 0
Language:JavaScript
Type:utility
Requires
- php: >=5.3.3
- doctrine/dbal: ~2.3
- kriswallsmith/assetic: ~1.0.0
- leafo/lessphp: dev-master
- mheap/silex-assetic: dev-master
- monolog/monolog: ~1.0
- silex/silex: dev-master
- symfony/config: ~2.2
- symfony/console: ~2.2
- symfony/finder: ~2.2
- symfony/form: ~2.2
- symfony/security: ~2.2
- symfony/translation: ~2.2
- symfony/twig-bridge: ~2.2
- symfony/validator: ~2.2
- symfony/yaml: ~2.2
- twig/twig: ~1.10
- twitter/bootstrap: v2.3.0
Requires (Dev)
- symfony/browser-kit: ~2.2
- symfony/css-selector: ~2.2
- symfony/dom-crawler: ~2.2
This package is auto-updated.
Last update: 2024-11-24 04:52:44 UTC
README
Based on a fork of the Silex-Kitchen-Edition, yaskef (Yet Another Silex-Kitchen-Edition Fork) is a developper utility to quickly test PHP, SQL and Javascript snippets, saving them in db for later use, sending them on pastebin.com, etc.
For more information, see the dedicated page.
Installation
- with composer
php composer.phar create-project -s dev electrolinux/yaskef PATH/TO/YOUR/APP
- with git
git clone https://github.com/electrolinux/yaskef PATH/TO/YOUR/APP cd PATH/TO/YOUR/APP curl -s http://getcomposer.org/installer | php php composer.phar install
Quick Start Guide
Edit 'resources/config/prod.php' if you want a different db, then
php console doctrine:database:create php console doctrine:schema:load php console user:create php console snippet:load --force
If running on linux with sqlite3 db, ensure that the web user has write access both to the database file and his folder. For example :
chgrp www-data resources/db resources/db/prod.db
chmod g+w resources/db resources/db/prod.db
Don't forget to do it again each time you re-create your database
Configure your web server, pointing the DocumentRoot to PATH/TO/YOUR/APP/web
For more informations about the Silex-Kitchen-Edition, see the dedicated page.