PHP Classes

PHP Manifold Laravel Integration: Retrieve details from a Manifold account

Recommend this page to a friend!
  Info   View files Documentation   View files View files (18)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 13 This week: 1All time: 11,247 This week: 560Up
Version License PHP version Categories
env 1.0GNU General Publi...5PHP 5, Web services, Project Management
Description 

Author

This package can be used to retrieve details from a Manifold account.

It can send HTTP requests to the Manifold Marketplace API to perform several types of actions.

Currently it can pull the account credentials, keys, configurations, products, projects and resources.

Picture of TJ Webb
Name: TJ Webb <contact>
Classes: 6 packages by
Country: Canada Canada
Age: ???
All time rank: 413687 in Canada Canada
Week rank: 411 Up10 in Canada Canada Up
Innovation award
Innovation award
Nominee: 2x

Documentation

Introduction

The Manifold Laravel package allows you to connect to your Manifold account and pull your credentials, keys, configurations, etc. from your Manifold account into your Laravel application.

Installation

  1. Install the package `composer require manifoldco/manifold-laravel`
  2. Publish the config file `php artisan vendor:publish` Select `manifoldco\manifold-laravel` from the vendor list.
  3. Add, at the very least, your Manifold Bearer token to your `.env` file as follows `MANIFOLD_API_TOKEN=YOUR-TOKEN-HERE`
  4. You may optionally specify a Resource, Project, or Product by providing their respective IDs in your `.env` file. `MANIFOLD_RESOURCE_ID=YOUR-RESOURCE-ID` `MANIFOLD_PROJECT_ID=YOUR-PROJECT-ID` `MANIFOLD_PRODUCT_ID=YOUR-PRODUCT-ID`

Usage

Once installed and configured, your project/resource variables from Manifold will be pulled into your Laravel application as configurations. Your variables can be accessed using the config helper, using the key as it exists in Manifold. For example, a variable stored in your Manifold resource named API_KEY can be accessed using config('API_KEY').

Note that keys are case sensitive. Also note that when variable keys conflict, either with each other or with other Laravel configs, the last value with the given key will be the one added to the configuration.


  Files folder image Files  
File Role Description
Files folder imagesrc (4 files, 2 directories)
Files folder imagetests (4 files)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file .styleci.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file prefill.php Aux. Auxiliary script
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imageCommands (3 files)
Files folder imageconfig (1 file)
  Plain text file API.php Class Class source
  Plain text file Cache.php Class Class source
  Plain text file Core.php Class Class source
  Plain text file manifoldServiceProvider.php Class Class source

  Files folder image Files  /  src  /  Commands  
File Role Description
  Plain text file Check.php Class Class source
  Plain text file Env.php Class Class source
  Plain text file Refresh.php Class Class source

  Files folder image Files  /  src  /  config  
File Role Description
  Accessible without login Plain text file manifold.php Conf. Configuration script

  Files folder image Files  /  tests  
File Role Description
  Plain text file APITest.php Class Class source
  Plain text file CacheTest.php Class Class source
  Plain text file CoreTest.php Class Class source
  Accessible without login Plain text file getApp.php Aux. Auxiliary script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:13
This week:1
All time:11,247
This week:560Up