Download the PHP package jdmaymeow/php-encrypt without Composer

On this page you can find all versions of the php package jdmaymeow/php-encrypt. 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 php-encrypt

PHP Encrypt

Build Status

Certification authority management script

Installation

Prerequisities

From GitHub mirror

Installation from public GitHub repository

With composer (RECOMENDED)

If you are familiar with composer, you can install latest stable version with composer too.

There are both versions and you have to be a developer.

Configuration

Default configuration file is located in

Default configuration per each certificate type looks like

You can add new configuration if you want anther certificate type

Usage

With this script you can sign certificates for CA, Intermediate CA, users and servers. Before you can do this you will need create your CA and Intermediate CA certificates

Creating CA

Example to create CA

Creating Intermediate CA

To sign certificates you will need Intermediate CA certificate. Here is example:

Signing Certificates

User certificates

Script will use intermediate.cert and key from MyCa folder.Certificates

If you need override certificate validity you can do it with option and add your lenght (in days). Example:

Server Certificates

Before you can sign server certificate go to and add to end of this file

now you can sign certificate with

Override certificate validity in days (same as in users certificates)

Running as CLI globally from system

If you want to run your script globally over the system is importatn to change configuration to read current working directory instead of parrent directory where is script installed. Go to and change following line as on example:

Script will now create webroot folder and all certificates i your working directory.

Windows

To run script anywhere from windows create Path to forlder which is containing with this content:

Linux

TODO comming soon

Backup

All you need is backup folder where are stored all certificates and your config files if you have changed them.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

TODO: Write history

Credits

License

MIT


All versions of php-encrypt with dependencies

PHP Build Version
Package Version
Requires symfony/console Version ^3.1
symfony/yaml Version ^3.1
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 jdmaymeow/php-encrypt contains the following files

Loading the files please wait ....