PHP Classes
elePHPant
Icontem

sapient: Add a security layer to server to server requests

Recommend this page to a friend!
  Info   View files Example   View files View files (48)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-07-02 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 97 This week: 1All time: 8,773 This week: 616Up
Version License PHP version Categories
sapient 1.0.0MIT/X Consortium ...7HTTP, Cryptography, Libraries, Security, P..., P...
Description Author

This package add a security layer to server to server requests.

It can work with both Request and Response PSR-7 compliant objects by implementing security features like:

- Works with both Request and Response objects (PSR-7)
- Shared-key encryption
- Shared-key authentication
- Anonymous public-key encryption
- Public-key digital signatures
- Sends and receives signed or encrypted JSON
- Digital signatures and authentication are backwards-compatible with unsigned JSON API clients and servers
- The signaure and authentication tag will go into HTTP headers, rather than the request and response body
- Etc.

Innovation Award
PHP Programming Innovation award winner
July 2017
Winner
Nowadays sites use SSL/TLS to establish secure connections between the users browsers and the servers.

Some sites that use backend servers are connected from front-end servers without any security protection, thus allowing possible theft of information in transit by inflitrated malicious software.

This package provides a more secure solution to protect data that is exchanged between front-end and back-end servers by encrypting and decrypting the data with secure keys.

Manuel Lemos
  Performance   Level  
Name: Scott Arciszewski <contact>
Classes: 6 packages by
Country: United States United States
Age: ???
All time rank: 2148275 in United States United States
Week rank: 17 Up2 in United States United States Up
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

Details

Sapient Documentation

To get started using Sapient, see the tutorial.

To learn more about building a Sapient-compatible library in another language, read the Sapient specification.

To learn more about each class, read through the Internals documentation:

  Files folder image Files  
File Role Description
Files folder imagedocs (3 files, 1 directory)
Files folder imagesrc (3 files, 4 directories)
Files folder imagetests (5 files, 1 directory)
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit-autoload.php Aux. Auxiliary script
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Plain text file psalm.xml Data Auxiliary data
Accessible without login Plain text file README.md Example Example script

  Files folder image Files  /  docs  
File Role Description
Files folder imageInternals (4 files, 2 directories)
  Accessible without login Plain text file README.md Doc. Documentation
  Accessible without login Plain text file Specification.md Data Auxiliary data
  Accessible without login Plain text file Tutorial.md Data Auxiliary data

  Files folder image Files  /  docs  /  Internals  
File Role Description
Files folder imageAdapter (3 files, 1 directory)
Files folder imageTraits (3 files)
  Accessible without login Plain text file CryptographyKey.md Data Auxiliary data
  Accessible without login Plain text file README.md Doc. Documentation
  Accessible without login Plain text file Sapient.md Data Auxiliary data
  Accessible without login Plain text file Simple.md Data Auxiliary data

  Files folder image Files  /  docs  /  Internals  /  Adapter  
File Role Description
Files folder imageGeneric (3 files)
  Accessible without login Plain text file AdapterInterface.md Data Auxiliary data
  Accessible without login Plain text file ConvenienceInterface.md Data Auxiliary data
  Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  docs  /  Internals  /  Adapter  /  Generic  
File Role Description
  Accessible without login Plain text file Adapter.md Data Auxiliary data
  Accessible without login Plain text file README.md Doc. Documentation
  Accessible without login Plain text file Stream.md Data Auxiliary data

  Files folder image Files  /  docs  /  Internals  /  Traits  
File Role Description
  Accessible without login Plain text file JsonSugar.md Data Auxiliary data
  Accessible without login Plain text file README.md Doc. Documentation
  Accessible without login Plain text file StringSugar.md Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imageAdapter (3 files, 1 directory)
Files folder imageCryptographyKeys (6 files)
Files folder imageException (2 files)
Files folder imageTraits (2 files)
  Accessible without login Plain text file CryptographyKey.php Class Class source
  Accessible without login Plain text file Sapient.php Class Class source
  Accessible without login Plain text file Simple.php Class Class source

  Files folder image Files  /  src  /  Adapter  
File Role Description
Files folder imageGeneric (2 files)
  Accessible without login Plain text file AdapterInterface.php Class Class source
  Accessible without login Plain text file ConvenienceInterface.php Class Class source
  Accessible without login Plain text file Guzzle.php Class Class source

  Files folder image Files  /  src  /  Adapter  /  Generic  
File Role Description
  Accessible without login Plain text file Adapter.php Class Class source
  Accessible without login Plain text file Stream.php Class Class source

  Files folder image Files  /  src  /  CryptographyKeys  
File Role Description
  Accessible without login Plain text file SealingPublicKey.php Class Class source
  Accessible without login Plain text file SealingSecretKey.php Class Class source
  Accessible without login Plain text file SharedAuthenticationKey.php Class Class source
  Accessible without login Plain text file SharedEncryptionKey.php Class Class source
  Accessible without login Plain text file SigningPublicKey.php Class Class source
  Accessible without login Plain text file SigningSecretKey.php Class Class source

  Files folder image Files  /  src  /  Exception  
File Role Description
  Accessible without login Plain text file HeaderMissingException.php Class Class source
  Accessible without login Plain text file InvalidMessageException.php Class Class source

  Files folder image Files  /  src  /  Traits  
File Role Description
  Accessible without login Plain text file JsonSugar.php Class Class source
  Accessible without login Plain text file StringSugar.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageAdapter (2 files)
  Accessible without login Plain text file KeyExchangeTest.php Class Class source
  Accessible without login Plain text file SapientSealTest.php Class Class source
  Accessible without login Plain text file SapientSignTest.php Class Class source
  Accessible without login Plain text file SapientSymmetricTest.php Class Class source
  Accessible without login Plain text file SimpleTest.php Class Class source

  Files folder image Files  /  tests  /  Adapter  
File Role Description
  Accessible without login Plain text file GenericTest.php Class Class source
  Accessible without login Plain text file GuzzleTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:97
This week:1
All time:8,773
This week:616Up