Wiki based on php

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

A slim wiki based on PHP and markdown

License

til-schneider/slim-wiki

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Читайте также:  Javascript int в строку

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

slim wiki is a fast and slim wiki based on PHP and markdown.

Check out the demo website for more details and features.

slim wiki

Want to develop slim wiki?

 sudo npm install -g grunt-cli 

Note: node.js is only used by grunt for the build. Slim wiki uses PHP to run on server-side.

Now link the project directory to a locally installed Apache Webserver with PHP and mod_rewrite enabled.

Go to the browser and open one of:

  • http://localhost/path/to/src/ — for the development version using the source JavaScript files.
  • http://localhost/path/to/dist/ — for the production version using compressed CSS and JavaScript.

Build automatically on source changes (watch mode):

  1. Build the project (see above).
  2. Copy the contents of the dist directory to your webspace.
  3. Create a config.php (copy and adjust the example).
  4. Give write permissions to the server for the directory data (including subdirectories and files).
  • Bootstrap — Basic CSS styling.
  • Parsedown — PHP markdown parser.
  • prism — JavaScript syntax highlighter.
  • CodeMirror — JavaScript in-browser code editor.
  • Tocbot — JavaScript table of contents generator.
  • Vanilla JS — No jQuery. Instead standard DOM API in order to make things fast and slim.
  • Slim wiki is inspired by Wikitten. I have used some of their ideas, but technically slim wiki is a complete rewrite.
  • Thanks to Daring Fireball for inventing Markdown.
  • Thanks to GitHub for hosting this project and for some great enhancements to Markdown.

About

A slim wiki based on PHP and markdown

Источник

List of PHP-based Wiki Software

Wikis are a form of user support. It is usually used as a way of the interface of the users or servers. A wiki is a page that allows us to read, edit and create pages so that in the end they are viewed by users. Wikis are used for collaboration, documentation, information gathering, etc. Usually, the pages are stored in a database and dynamically generated exercises are included. MediaWiki is an example of free software for wiki, which manages Wikipedia. We have an old article on list of Wiki Software, however, it has been too old for today and we need to add more details. Not all of the software mentioned in that old article was based on PHP, for example, MoinMoin (Python-based). PHP-MySQL based software are easy to install even by a newbie and it can be installed on cheap shared servers.

BookStack: BookStack is an Open Source software which requires PHP 7.3+, MySQL 5.6+, Git (for updates), and Composer for the installation. It also can be installed via a Docker container. You can change the name, logo and registration options. You can also make the system private. It is a simple, light software with a decent UI :

https : / / demo . bookstackapp . com / books / bookstack — demo — site / page / mixed — content — example — page

DokuWiki: DokuWiki is a wiki software licensed under the GPL 2 and written in the PHP programming language. Text files are used to store the content and metadata. Initially, DokuWiki was intended for simple internal documentation of projects. DokuWiki is now also used for regular websites after the range of functions has been constantly expanded. Based on a clear structure, extensions in the form of plug-ins can be used to add further functions, for example for blogs, media data or workgroups. Here is an example webpage :

MediaWiki: MediaWiki is a freely available content management software in the form of a wiki system. This means that any user can modify the content via access through the browser. It was originally developed for the free encyclopedia Wikipedia. MediaWiki is licensed under the GPL and is therefore freely available free of charge. The MediaWiki software is written in the PHP scripting language. The relational database management system MySQL or its fork MariaDB is used to store the content. Alternatively, PostgreSQL or SQLite can also be used as the database backend, but their support is partly experimental. The only issue of MediaWiki is its heavy footage for a shared server.

MindTouch: Originally, it was a fork of MediaWiki; it has a C# back-end and a PHP front-end.
PhpWiki: PhpWiki is a PHP clone of the original WikiWikiWeb. It is the first wiki written in PHP. Due to its structure, PhpWiki is especially suitable for smaller projects. Features include GPL-licensed, easy installation/customization, designed for collaborative authoring and maintenance of websites, and support for internationalization. Does not require a database.

WackoWiki: is a free, open-source PHP/MySQL-based lightweight wiki engine which is small, lightweight, handy, expandable, and multilingual. It’s designed for speed and extensibility. Example webpage:

List of PHP-based Wiki Software

WikkaWiki: was a fork from WakkaWiki. It has announced end-of-life.

Tiki Wiki: TikiWiki is mainly written in PHP, but also uses JavaScript. It makes intensive use of a database and was originally developed for MySQL; Using the ADOdb database abstraction library, it also supports PostgreSQL, Oracle, Sybase, and Microsoft SQL Server. TikiWiki runs on any web server including Apache and Microsoft’s IIS, which supports the required PHP version as well as one of the databases mentioned.

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter — @AbhishekCTRL.

Here’s what we’ve got for you which might like :

  • Nginx WordPress Installation Guide (All Steps)This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.
  • Installing MediaWiki on Rackspace Cloud SitesInstalling MediaWiki on Rackspace Cloud Sites is quite easy, simply follow our step by step guide for Installing MediaWiki on Rackspace Cloud Sites.
  • WordPress & PHP : Different AdSense Units on Mobile DevicesHere is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.
  • List of Open Source Wiki Softwares Based on PHP MySQLList of Open Source Wiki Softwares Based on PHP MySQL shows some free yet powerful Wiki softwares for you for Business, Educational, Personal or for marketing.

Take The Conversation Further .

We’d love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Subscribe To Our Free Newsletter

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

A simple PHP wiki engine built with Laravel 5.1

License

Stolz/Wiki

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

readme.md

  • Backend based on Laravel 5.1 PHP framework. The code has a minimal footprint which makes the application very easy to customize to your needs.
  • Frontend based on Zurb Foundation CSS framework which gives a clean responsive layout and a mobile-friendly user experience.
  • Pages are written in Markdown with live preview of the final markup.
  • User authentication/registration with one click via Oauth providers (Facebook, GitHub, Google and Twitter).
  • Multilanguage support via Gettext.
  • Included boilerplate to implement your own custom permissions system based on user roles.

This project is not intended to be a mass distributed real world application but rather to server as a proof-of-concept and showcase of different technologies and concepts I enjoy using (RESTful architecture, Dependency Injection, Responsive design, SOLID principles, . ). Nevertheless it’s being implemented to be 100% usable in real scenarios.

git clone https://github.com/Stolz/Wiki.git --depth 1 wiki && cd wiki && composer install 
composer create-project stolz/wiki --prefer-dist --stability=dev --no-scripts && cd wiki 

Once the project is installed configure it as any other Laravel app

$EDITOR .env $EDITOR config/app.php php artisan migrate --seed 

Trying to perform an action (create, update, delete, . ) on any of the wiki resources (users, pages, categories, . ) will trigger the can() method on the app/Role.php file with the corresponding action and resouce parameters.

The default implementation of the function is very relaxed and allows all user roles to perform all action on all resources.

/** * Determine if $this role is authorized to execute $action on $resource. * * @param string $action * @param string $resource * @return bool */ public function can($action, $resource)

To customize which actions can perform each user role you only need to add your logic to this method. A silly example could be:

// file: app/Role.php public function can($action, $resource) < $currentUserProfile = $this->name; // Admin role has no restrictions if ($currentUserProfile === 'admin') return true; // Relaxed read permissions for all roles if($action === 'index' or $action === 'show') return true; // Editor role can edit pages if ($currentUserProfile === 'editor' and $resouce === 'page' and $action === 'edit') return true; // Manager role has full access to categories if ($currentUserProfile === 'manager' and $resouce === 'category') return true; return false; > 

If you still want a more advanced permissions system feel free to fully replace the Permissions middleware located at app/Http/Middleware/Permissions.php .

MIT license. Check the included LICENSE.txt file for details.

Источник

Оцените статью