Download the PHP package cybercog/laravel-youtrack-sdk without Composer

On this page you can find all versions of the php package cybercog/laravel-youtrack-sdk. 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 laravel-youtrack-sdk

Laravel YouTrack SDK

cog-laravel-youtrack-sdk

Build Status StyleCI Code Climate Releases License

Introduction

Laravel wrapper for the PHP YouTrack SDK library provides set of tools to interact with JetBrains YouTrack Issue Tracking and Project Management software.

Contents

Features

Requirements

Installation

The preferred method is via composer. Follow the installation instructions if you do not already have composer installed.

Once composer is installed, execute the following command in your project root to install this library:

Configuration

Laravel YouTrack SDK designed to work with default config, but it always could be modified. First of all publish it:

This will create a config/youtrack.php file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.

YouTrack URL

YouTrack instance location could be defined in .env file:

Authorization methods

Starting with YouTrack 2017.1 release authorization based on permanent tokens is recommended as the main approach for the authorization in your REST API calls.

By default Token authorization will be used. You could redefine it in .env file:

Token authorization

Cookie authorization

Usage

Initialize API client

As result instantiated \Cog\YouTrack\Rest\Client\YouTrackClient class should be returned.

API requests

HTTP request

You can customize requests created and transferred by a client using request options. Request options control various aspects of a request including, headers, query string parameters, timeout settings, the body of a request, and much more.

HTTP GET request

HTTP POST request

HTTP PUT request

HTTP DELETE request

API responses

Each successful request to the API returns instance of \Cog\Contracts\YouTrack\Rest\Response\Response contract. By default it's \Cog\YouTrack\Rest\Response\YouTrackResponse class.

Get PSR HTTP response

PSR HTTP response could be accessed by calling httpResponse method on API Response.

Get response Cookie

Returns Set-Cookie headers as string from the HTTP response.

Get response Location

Returns Location header from the HTTP response.

Transform response to array

Get HTTP response status code

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Testing

Run the tests with:

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Contributors

@antonkomarev
Anton Komarev
sergiy-petrov

Laravel YouTrack SDK contributors list

Alternatives

Alternatives not found.

Feel free to add more alternatives as Pull Request.

License

About CyberCog

CyberCog is a Social Unity of enthusiasts. Research best solutions in product & software development is our passion.

CyberCog


All versions of laravel-youtrack-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
cybercog/youtrack-php-sdk Version ^5.0
illuminate/support Version ^5.8|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
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 cybercog/laravel-youtrack-sdk contains the following files

Loading the files please wait ....