Download the PHP package webdoors/martivia without Composer

On this page you can find all versions of the php package webdoors/martivia. 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 martivia

Build Status Total Downloads Latest Stable Version License

About Martivia

Martivia is a cross platform (Php,Python,Node.js,c#,java and etc.) web application framework. The simplicity and the novelty of the paradigm used in this framework enables web applications to load much faster and use as little resources as possible in the process.

Documentation https://martivia.readme.io/

Installation

Official installation method is via composer and its packagist package webdoors/martivia.

(Recommendation: Download XAMPP for php apache engine and mysql database, use xampp htdocs folder for localhost)

Or

Or

1.Just download.

2.Create database admin_martivia.

3.Upload files in your Directory.

4.Import admin_martivia.sql to Database.

5.Delete admin_martivia.sql file from root folder.

4.configure .env file.

How it works

  1. Every http request is directed to index.php if the file or folder does not exists.
  2. open the website and change header.php,footer.php and files in pages/ folder for changing contents behaviour.
  3. for beautiful url we chunck Request_URI as $p1,$p2,$p3,$p4 for the parts of the url /$p1/$p2/$p3 ...

Martivia depends on jquery and has it's main.js file where we have created universal Ajax function called "func" which accepts two optional parameters: a) Function Name; b) Parameters object, Example {key:value};

In this Framework every function or a class is a file that is included through func.php

Every xhr jquery ajax call is posted to func.php that includes the file by the function name sent as the first argument of func(a,b) function , For example func("login"); sends request to /func/func.php that includes login.php by the logic of {Function Name}.php .

a - Function Name

b - Parameters Object {key:value,key:value};

See func function from main.js

Documentation

Martivia consists of css,func,js,view folders and index.php, db_open.php, db_close.php. View folder consists of inc and pages folders.

The page routing is driven by $_GET method or by redirecting all request to index.php and chunking url by "/" parts for beautiful url.

For Example: https://example.com?page=login or https://example.com/login


All versions of martivia with dependencies

PHP Build Version
Package Version
Requires php Version ^5.6 || ^7.0 || ~8.0.0 || ~8.1.0
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 webdoors/martivia contains the following files

Loading the files please wait ....