Download the PHP package notihnio/php-cactus without Composer

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

PHP Cactus 🌵

Protect your PHP code from being stolen. Deploy with no fear of not owning servers. This library compiles your PHP code to opcodes and removes code from all php files included in your project. All produced opcode files are saved on the server's filesystem and used by OPcache!

Before

index.php

<?php
use Illuminate\Contracts\Http\Kernel;
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));

After

index.php

<?php
//compiled by Cactus

index.php.bin

OPCACHEaa076b0e7a9c60b4d014e9d46754d5ffòËE"=h"`ÿ†8˛ˇˇˇÄ˛ˇˇˇġˇˇˇw—∑e9YÅ©—!a°°¡!QÅÅ°°¡¡Jp=y
PAJ`=y
PAë†Å]†`uêÅJ`=◊P†_†PAë†ÅȆ@+¸PIÙ"IÙ†/I⁄`†/‚`1pz

P1tG†1<⁄p† 1‚p(3pÁ
84qG∞4<€ê∞†4/†P4tG†4<”†H5pG†5<⁄Ć3‚pX7püêP7BüÄ`7BF7<Kˇˇˇˇ8>V∆èMi…˝8é/laravel/public/index.phpÈ1QyV∆èMi…˝8é/laravel/public/index.phpVpJįRÄdefineVYZ€∂
¨≥î
LARAVEL_STARTVÆó‰H—wÉ  microtimeVÑÀTñuä¿file_existsVΩP∂äÔÓSø4/laravel/public/../storage/framework/maintenance.phpVo~†∑”5∂&/laravel/public/../vendor/autoload.phpV'†fieE^Ô$/laravel/public/../bootstrap/app.phpV£ö|ÄmakeVfl.`ôå¥öê Illuminate\Contracts\Http\KernelVqÿêSÄhandle!V⁄ó≤:·†q”Illuminate\Http\RequestV:¥ˇi?⁄flilluminate\http\requestV9÷ı≤±–ÄcaptureVO€ù|ÄsendVÓ ‘=—ŸwÉ  terminateVhÏ1\

Useful Notes

Install

Using Composer

Add to your php.ini configuration

opcache.enable=1  
opcache.enable_cli=1  
opcache.validate_timestamps=0  
opcache.file_cache = "Enter here the path where the opcodes will be saved"

Run php Cactus

YourProjectRootDir/vendor/bin/cactus

Run php Cactus without any prompt (Force mode for your deployment process)

YourProjectRootDir/vendor/bin/cactus --noPrompt

Run php Cactus for specific project subdirectory (dir parameter should be relative to project root directory)

YourProjectRootDir/vendor/bin/cactus --dir app/Controllers

All versions of php-cactus with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-zend-opcache Version *
ext-fileinfo Version *
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 notihnio/php-cactus contains the following files

Loading the files please wait ....