# -*- mode: org -*-

* emacs-symfony-cli
Status: Pre-Alpha

This Emacs package offers an interface of ./bin/console for Symfony
development, inspired by the functionality and user experience of
Magit.  It aims to streamline usage of Symfony cli making it easier to
interact with Symfony projects using Emacs.

** Features:
*** TODO List all Symfony console actions and their options
*** TODO Execute actions and see output buffers with links to the classes for quick jumps
*** TODO Debug routes / service containers and use other debug symfony actions

** How to start contributing:
You will need PHP, composer and Symfony installation.
[Symfony PHP extension requirements](https://symfony.com/doc/current/setup.html)

#+begin_src bash
  fossil clone http://username@wkz-devel.org/emacs-symfony-cli emacs-symfony-cli.fossil; # change username to your login in fossil
  mkdir -p emacs-symfony-cli; cd emacs-symfony-cli;
  fossil open ../emacs-symfony-cli.fossil;

  sudo apt install php composer git;
  git clone https://github.com/symfony/demo.git; cd demo;
  sudo apt install php-sqlite3 php-tokenizer php-xml php-opcache; # install symfony required php extensions
  composer install;
  ./bin/console # The screen that we need to wrap
#+end_src

You will also need symfony CLI.
https://github.com/symfony-cli/symfony-cli

~symfony console~ is equavilent to ~./bin/console~ in a symfony project
