Download the PHP package mecha-cms/mecha without Composer

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

Mecha CMS

Mecha is a flat-file content management system for minimalists.

Code Size License

Meme

Front-End

The default layout uses only Serif and Mono fonts. Different operating systems may produce slightly different results. This preview was taken from a computer running Arch Linux operating system. The Serif font shown in the preview should be DejaVu Serif:

Front-End

Back-End (Optional)

To be able to activate the back-end feature requires you to install our Alert, Panel, and User extensions. This feature is forever optional. You can use this feature on the local version only, and remove it on the public version to secure your website (only if you don’t trust this extension).

Back-End

Colors and font types in the control panel preview above are generated from the default skin. Without them, the display will look like the preview below:

Back-End

Features

Requirements

Preparations

  1. Make sure that you already have the required components.
  2. Download the available package from the home page.
  3. Upload Mecha through your FTP/SFTP to the public folder/directory on your site, then extract it!
  4. Take a look on the available extensions and layouts that you might be interested.
  5. Upload your extension files to .\lot\x and your layout files to .\lot\y. They’re auto-loaded.
  6. Read on how to add pages and tags. Learn on how to create pages from the author by looking at the source code.
  7. Install Panel extension if you are stuck by doing everything manually. You always have the full control to remove this extension without having to worry that your site will stop running after doing so.

Alternatives

Command Line

This assumes that your site’s public directory is in /srv/http. Make sure the folder is empty, or move the existing files to another place first. Don’t forget with that . at the end of the command as written in the example below, to clone the repository into the current root folder.

Using Composer

~~~ .sh cd /srv/http composer create-project mecha-cms/mecha .


You may want to install our [Panel][mecha-cms/x.panel] extension as well:

~~~ .sh
composer require mecha-cms/x.panel

Using Git

~~~ .sh cd /srv/http git clone https://github.com/mecha-cms/mecha.git --depth 1 . git submodule update --init --recursive


You may want to install our [Panel][mecha-cms/x.panel] extension as well. Here, [Alert][mecha-cms/x.alert], and
[User][mecha-cms/x.user] extension is required to be installed:

~~~ .sh
git submodule add https://github.com/mecha-cms/x.alert.git --depth 1 lot/x/alert
git submodule add https://github.com/mecha-cms/x.user.git --depth 1 lot/x/user
git submodule add https://github.com/mecha-cms/x.panel.git --depth 1 lot/x/panel

Web Browser

Download the installer file from https://github.com/mecha-cms/start and then follow the instructions.


Contributors

This project exists and survives because of you. I would like to thank all those who have taken the time to contribute to this project.

Contributors

Contribute financially to keep the project domain and website accessible to everyone. The website provides complete documentation and latest information regarding the software and future development plans. Some parts of the website also serve to provide a clean and efficient project file download feature which is obtained by managing responses from the GitHub API.

Backers

Contribute

Sponsors

0 1 2 3 4 5 6 7 8 9


All versions of mecha with dependencies

PHP Build Version
Package Version
Requires ext-json Version *
mecha-cms/composer Version ^1.0.0
mecha-cms/x.asset Version ^2.0.0
mecha-cms/x.layout Version ^2.0.0
mecha-cms/x.link Version ^2.0.0
mecha-cms/x.markdown Version ^3.0.0
mecha-cms/x.page Version ^3.1.0
mecha-cms/x.test Version ^1.0.0
mecha-cms/y.log Version ^2.0.0
php Version >=7.3
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 mecha-cms/mecha contains the following files

Loading the files please wait ....