Third Party Libraries
Spoova includes third-party libraries which are subdivided into three.
  • Php Libraries
  • Css Libraries
  • Javascript Libraries
Php Libraries
The following are lists of libraries that should be added to the framework's project pack if the Mailer class is needed:
  • PhpMailer
    This class is used to send mails. Spoova has an in-built support for this library through the Mailer class.
  • Css Emogrifier
    This tool converts external and embeded css to inline css.
The Css Emogrifier may not naturally work, because the __construct() method is set to private. Developers have to set this method to public before it can be successfully used.

Css Libraries
Although spoova has its own local css files, yet it uses some external css libraries. These libraries include MD5 Bootstrap, Bootstrap icons and Css animate libraries. These libraries can be found in their designated folders within the res/main/css directory. Other libraries may be added locally into the res/css directory. However, ensure to use custom folders to separate the external libraries. The local path or cdn links of the libraries can also be included globally within the res/res.php file.

Javascript Libraries
Jquery is a widely used javascript library. This library is integerated with spoova and it form a core part of the framework's architecture as there are major files, functions and plugins that are built upon it and without the Jquery file, they will not be available for execution.

Updating Libraries

Static file libraries such as bootstrap and javascript files can be found at the res/main/css/ and res/main/js/ directories respectively. The global static resources folder is the res/main directory. If any of the default libraries needs to be upgraded, that library should be replaced with newly downloaded files and the correct path must match the path set in the core/res.php file. If new path name is different, the old path should be updated accordingly. However, as an alternative to using local library file path, cdn link of such libraries may be used instead which can be added or updated in the core/res.php file. Custom or new urls should be added from the res/res.php which is reserved for custom static urls.