Download the PHP package atk14/wiki-pages without Composer

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

Wiki Pages

A set of features that allow to maintain the knowledge database (wiki) in administration.

Wiki Pages is designed for applications built on Atk14Skelet.

Prerequisites

User Authorization

Installation

cd path/to/your/project/
composer require atk14/wiki-pages

ln -s ../../../vendor/atk14/wiki-pages/src/app/forms/admin/wiki_pages app/forms/admin/
ln -s ../../../vendor/atk14/wiki-pages/src/app/forms/admin/wiki_attachments app/forms/admin/
ln -s ../../../vendor/atk14/wiki-pages/src/app/views/admin/wiki_pages app/views/admin/
ln -s ../../../vendor/atk14/wiki-pages/src/app/views/admin/wiki_attachments app/views/admin/
ln -s ../../vendor/atk14/wiki-pages/src/app/models/wiki_page.php app/models/
ln -s ../../vendor/atk14/wiki-pages/src/app/models/wiki_attachment.php app/models/
ln -s ../../vendor/atk14/wiki-pages/src/app/helpers/modifier.wiki_markdown.php app/helpers/
ln -s ../../vendor/atk14/wiki-pages/src/app/helpers/block.wiki_markdown.php app/helpers/
ln -s ../../../vendor/atk14/wiki-pages/src/app/controllers/admin/wiki_pages_controller.php app/controllers/admin/
ln -s ../../../vendor/atk14/wiki-pages/src/app/controllers/admin/wiki_attachments_controller.php app/controllers/admin/
ln -s ../../vendor/atk14/wiki-pages/src/test/models/tc_wiki_attachment.php test/models/
ln -s ../../vendor/atk14/wiki-pages/src/test/models/tc_wiki_page.php test/models/
ln -s ../../vendor/atk14/wiki-pages/src/config/routers/wiki_pages_router.php config/routers/

Copy migration to a proper filename into your project:

cp vendor/atk14/wiki-pages/src/db/migrations/0150_wiki_pages.sql db/migrations/

Linking a proper style form either for Bootstrap 4 (scss) or Bootstrap 3 (less).

ln -s ../../../vendor/atk14/wiki-pages/src/public/admin/styles/_wiki_pages.scss public/admin/styles/

# or for Bootstrap 3

ln -s ../../../vendor/atk14/wiki-pages/src/public/admin/styles/wiki_pages.less public/admin/styles/

Now include the selected style to your application style.

Load WikiRouter:

<?php
// file: config/routers/load.php

// ...

Atk14Url::AddRouter("AdminRouter");
Atk14Url::AddRouter("admin","WikiPagesRouter");

// ...

Add a link to Wiki Pages to the administration:

<?php
// file: app/controllers/admin/admin.php

// ..

array(_("404 Redirections"),    "error_redirections"),
array(_("Wiki"),          "wiki_pages,wiki_attachments"),

// ..

All versions of wiki-pages with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
pupiq/image-scaler Version ^0.5
atk14/confirmation-field Version ^1.0
atk14/drink-markdown Version ^0.8
yarri/keywords-highlighter Version ^0.1.2
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 atk14/wiki-pages contains the following files

Loading the files please wait ....