Download the PHP package spoova/mi without Composer

On this page you can find all versions of the php package spoova/mi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mi

SPOOVA FRAME

Spoova is a PHP Framework that uses a Window-View-Model (WVM) pattern that is built upon MVC architecture. The WVM is a 3-Logic pattern that determines how routes are resolved. Other features include inbuilt live server, inbuilt template engine, Reusable components, Static Resource Handler, ORM (beta) and FileManager tool.

INSTALLATION
Installation from git respository

Clone or download the spoova frame project package to your device web server root and rename extracted pack to spoova

Installation from composer #1

Run the following command in your local web server root to generate the project pack

Installation from composer #2

To use composer require

create a file named "mi" in a folder and add the following command

Add the composer.json file with the following json sample syntax along with the spoova version required

Run the command

Creating First Project Application

Once the project package installer is successfully installed on desktop devices, open the newly created pack in a code editor's terminal and run the command below:

Once the repack is successful, to create your new separate project application, run the command below where refers to the name of your project application.

During project app creation, if web installer was enabled, you can navigate to "/install" page to configure the essential parameters needed to get started but it is advisable to use the terminal to ensure all required processes are duely configured.

  • To restart or refresh configuration on web, select the refresh button "R" or navigate to "/install?refresh" page.
  • Once the application is installed, the installation page can be removed.
  • Once configuration has completed, page will be redirected back to the home page.

If you prefer to configure your application from the terminal, skip the step immediately above and run the command below to start an interactive installation process. Ensuring that all database parameters if supplied, are wrapped within quotes.

Note that the database configuration parameters testing may return error in terminal if the terminal does not have access to the database. If an error is returned for testing configuration, try connecting using web browser.

Visit the offline or online project pack documentation as the case may be to learn more on how to install the framework and other cli commands.

PROJECT DEPLOYMENT

Deploying a production-ready application requires the use of specially designed functions that help to localize the static resource files such as image, css and javascript files to their current environment.

  1. The domurl() function is required for loading static resources which makes it possible for spoova to keep track of static links. Once the application is deployed into an online environment, all static resources relatively loaded through this function are mapped to the current environment. This funtionality provides the ease of files migration of files across local and remote environments. However, if this function is not employed, developers will have to manually define how their static resources should be loaded and this may be difficult to maintain.
  2. When deploying applications, the project folder must be used as the domain root folder. The security of directories is maintained by the root .htaccess file. Any uncensored alteration to this file may lead to broken application.
CONFIGURATION FILES
  1. The database configuration files are automatically configured by the command but if any error occurs, this can be manually configured at icore/dbconfig.php file. Database connection parameters are also loaded by default from this file. Remember to remove your connection paramaters when submitting project to a public environment by running and also remove the online parameters if previously defined also by running the with the parameters set as dash (i.e "-") in the command-line. This can also be done manually from the database connection configuration file icore/init.
  2. Other configuration files can be found within the same icore/ directory.
  3. The icore/init file is used to initialize the state of the application.
  4. The .env file should also be added to the same directory, if needed. This will enable the env() function to load the defined keys automatically if needed.
QUICK TIPS
  1. The root .htaccess file should not be modified without proper knowledge of how to handle such files.
  2. Storing of unused static resource urls into static Resource handler classes should be avoided to reduce load time.
  3. Spoova uses the res/ directory to store global static files. Hence, all global css and javascript files should be placed within the res directory.
  4. All domain and subdomains must have an icore folder within them as the folder helps to localize and (or) update default configurations when necessary.
  5. All subdomain folders (if created), should have access to the global res/ directory (this may require the use of symlink).
  6. Avoid placing classes directly in the the root of core/ directory. Custom classes may be added to a custom separate folder within the root of your application
  7. To use the live server feature, read the documentation provided on how to implement it.
  8. All directories and php files are protected while other file extensions are excluded. However, the core, icore and windows directories are strictly protected. Any file within these directories also inherit their protection. These can prove useful in helping to secure the composer.json file.
NOTICE
  1. The earlier spoova main project pack versions previously contained offline documentation. Starting from version 2.5, The documentation is now available on spoova.com

All versions of mi with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package spoova/mi contains the following files

Loading the files please wait ....