Wikidocs Bootstrap for PHP
Do you like the feature of Google docs where you can write together with your friends and see what they do and where they are? Well now you can build our own collaborative editing system!
You are 5 min away from your first real time collaboration app!
All you have to do is to clone the Wikidocs examples.
git clone https://github.com/wikidocs/wikidocs-examples.git
Change in the directory for the "simple-php" example.
cd wikidocs-examples/simple-php
Open your preferred editor and load the file wikidocs-demp.php. Right on top you will see 2 lines of code where you should add your own API credentials.
define("APP_ID", "demo"); define("APP_SECRET", "demo");
Follow this 3 steps to get your API credentials:
Login or Register at https://wikidocs.com to create your own space.
Go to https://wikidocs.com/space/create and create your own space eg. myspace.wikidocs.com (myspace is the name of the space you choose. Replace myspace below with your space name)
Goto to https://myspace.wikidocs.com/admin/space generate an API key and insert below.
Now change the API credentials in your wikidocs-demo.php, save and open the file through a web browser with PHP support.
You can see the docs you create under https://myspace.wikidocs.com/me/docs/api.
All done. Check out the Wikidocs API for more features and create your own collaborative editing app.
Let us know what you have done and share your experience on Facebook or Twitter.













