Advertisement
Guest User

example composer json for php frame work

a guest
Sep 28th, 2014
1,989
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. {
  2. "name": "vendorName/packageName", //ex: smarty/smarty should be unique
  3. "description": "Core PHP Framework",
  4. "type": "project",
  5. "license": "MIT",
  6. "keywords": [ "php", "framework", "Core", "Core PHP Framework" ],
  7. "autoload": {
  8. "psr-4": { "Core\\": "src/Core" }
  9. },
  10. "prefer-stable": true,
  11. "require": {
  12. "smarty/smarty": ">=3.1.19",
  13. "filp/whoops": "1.*",
  14. "php": ">=5.4.0"
  15. },
  16. "suggest": {
  17. "ext-apc": "Allows for faster performance of Core Framework through APC caching",
  18. "ext-opcache": "Allows for faster performance of Core Framework through opCache(Zend Optimizer+) caching. opCache requires php 5.5+"
  19. },
  20. "authors": [
  21. {
  22. "name": "Your Name",
  23. "email": "Your Email"
  24. }
  25. ],
  26. "scripts": {
  27. "post-install-cmd": [
  28. "bower install",
  29. "Core\\Scripts\\installer::install"
  30. ],
  31. "post-update-cmd": [
  32. "bower install",
  33. "Core\\Scripts\\installer::install"
  34. ]
  35. }
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement