• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

litus

Some helpers for LitusProject development in Atom.io
LitusProject
0.3.1 82
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Litus Atom Package

An atom package that may come in handy when developping for litus.

PHP CodeStyle Fixer

Selecting Packages > Litus > Fix PHP CodeStyle or simply typing ctrl+alt+shift+L triggers the vendor/bin/php-cs-fixer script. Output is shown in the Atom editor.

You can also run the Litus pre-commit git hook using Packages > Litus > Run Pre-Commit Hook or typing ctrl+alt+L.

Snippets

Take a look inside the snippets folder. You'll find a whole lot of snippets there. Using these snippets, you can simply type

form{tab}

to get

$form = $this->getForm(${1:FormName});
 
if ($this->getRequest()->isPost()) {
    $formData = $this->getRequest()->getPost();
    $form->setData($formData);
 
    if ($form->isValid()) {
        $formData = $form->getData();
    }
 
    $2
}

Amazing, right?

License

<> with ♥ by Bram Gotink
This code is © 2014, licensed under the MIT license, see LICENSE.md

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by