RoaveDeveloperTools icon indicating copy to clipboard operation
RoaveDeveloperTools copied to clipboard

Idea: ZF production settings

Open Danielss89 opened this issue 11 years ago • 4 comments

A CLI call to ensure production settings: ./vendor/bin/RDT ensure-production-settings It could check the most common mistakes:

  • Check module cache
  • Check classmaps/template maps (or if composer has been ran with optimize)
  • Check config cache
  • Check 'check_dependencies'
  • Detect if doctrine if present, and if it is, run the command for doctrine(seperate module?)
  • Check if EdpSuperluminal is preset, otherwise suggest it
  • ...

Danielss89 avatar Apr 20 '14 10:04 Danielss89

This can be implemented as a detail-view that is ZF2 specific.

I wouldn't use a CLI command for it, rather than a proper web-view.

Ocramius avatar Apr 20 '14 16:04 Ocramius

My thought was that it should run on the production site, but with #7 i guess it's fine in web-view. Don't know why i wanted it in CLI anyway...

Danielss89 avatar Apr 20 '14 21:04 Danielss89

@Danielss89 the production website would just produce an inspection snapshot - the snapshot can then be analyzed on any installation of that website

Ocramius avatar Apr 20 '14 21:04 Ocramius

@Danielss89 this just needs a specialized renderer - re-opening :-)

Ocramius avatar Apr 27 '14 14:04 Ocramius