Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Redmine Cookbook

You're reading from   Redmine Cookbook Over 80 hands-on recipes to improve your skills in project management, team management, process improvement, and Redmine administration

Arrow left icon
Product type Paperback
Published in Feb 2016
Publisher Packt
ISBN-13 9781785286131
Length 322 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Aleksandar Pavic Aleksandar Pavic
Author Profile Icon Aleksandar Pavic
Aleksandar Pavic
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Installing and Running Redmine 2. Customizing Redmine FREE CHAPTER 3. Project Management with Redmine 4. Improving Team Performance 5. Regular and Planned Maintenance 6. Performance and System Tuning 7. Integrating Redmine with Other Software 8. Getting the Most Out of Scripts and Plugins 9. Troubleshooting 10. Making the Most of Redmine Index

Using the Redmine REST API with PHP


The REST API is widely used by third-party applications. This recipe teaches you how to use a basic PHP application that connects to Redmine. For this example, we are going to create a sample app that submits issue to a project. Such applications can be used, for example, on website contact forms, and initiate a support or CRM request.

Getting ready

Before you begin, research ready-made examples and libraries that you can use in your project.

This recipe assumes that you know either PHP, HTML or C# (Windows forms).

How to do it…

One of Redmine's PHP libraries that updates often is kbsali's library, which can be forked or downloaded from https://github.com/kbsali/php-redmine-api.

To create your first Redmine app, perform the following steps:

  1. In your www-root, create a folder called phprmtest (short for PHP Redmine test).

  2. Download and extract php-redmine-api library to phprmtest .

  3. Create a file called test.php.

  4. Paste the following contents, replacing the values in...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image