Download the PHP package mostafaaminflakes/dual-optimus without Composer

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

Dual Optimus

Latest Version on Packagist PHP Version Require License GitHub Tests Action Status GitHub Code Style Action Status Total Downloads codecov

A powerful PHP package that extends Jenssegers\Optimus to support both 64-bit and 32-bit ID obfuscation with intelligent auto-detection, multiple connections, and seamless Laravel integration.

โœจ Features

๐Ÿ“‹ Requirements

๐Ÿ“ฆ Installation

Install the package via Composer:

Laravel Integration

The package automatically registers itself in Laravel 5.5+. For older versions, manually add to config/app.php:

Publish the configuration file:

โš™๏ธ Configuration

Environment Variables

Add these variables to your .env file:

Configuration File

The published config/dual-optimus.php file contains:

๐Ÿš€ Usage

Basic Usage

Force 64-bit Operations

Multiple Connections

Direct Manager Usage

Access Underlying Optimus

๐Ÿ”ง Artisan Commands

Generate new Optimus keys:

๐Ÿงช Testing

Run the complete test suite:

Run tests with coverage report:

Run specific test suites:

๐Ÿ”„ Migration from Jenssegers\Optimus

Dual Optimus is a 100% drop-in replacement for Jenssegers\Optimus:

All existing encoded values will decode correctly - no data migration required!

๐Ÿ“Š Performance

Dual Optimus adds minimal overhead while providing significant functionality:

๐Ÿ›ก๏ธ Security Considerations

๐Ÿค Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Add tests for new functionality
  4. Ensure all tests pass (composer test)
  5. Commit your changes (git commit -m 'Add amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. Open a Pull Request

Development Setup

๐Ÿ“ Changelog

v1.0.0 - Initial Release

๐Ÿ“„ License

This package is open-sourced software licensed under the MIT License.

๐Ÿ™ Credits

๐Ÿ†˜ Support


Made with โค๏ธ for the PHP community


All versions of dual-optimus with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-gmp Version *
jenssegers/optimus Version ^1.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 mostafaaminflakes/dual-optimus contains the following files

Loading the files please wait ...