Download the PHP package icebox-php/framework without Composer

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

About Icebox

This repository contains the core code of the Icebox framework.

ActiveRecord Implementation

Icebox includes a modern PDO-based ActiveRecord implementation with Rails-style query builder.

Database Configuration

Creating Models

Basic CRUD Operations

Rails-style Query Builder

Icebox uses a Rails-inspired query builder with a single where() method for all queries.

Basic Queries

Method Chaining

Aggregates and Checks

Model Methods Available

Query Builder Methods

Transactions

Interactive Console

Icebox includes an interactive PHP console (REPL) powered by PsySH, similar to Rails console:

This starts an interactive PHP shell. When used within an Icebox application, the framework and application environment will be automatically loaded.

Features

Example Usage

Available Commands in PsySH

Note for Application Usage

When using the console within an Icebox application, the application bootstrap will handle loading the framework and environment. The console command simply starts PsySH with the development environment.

Logging

Icebox includes a simple, Rails-like logger built on Monolog with PSR-3 compatibility. The logger supports multiple simultaneous handlers and works for both terminal and web applications.

Request Logging

When running the development server (php icebox server), Icebox automatically suppresses the default PHP built‑in server logs and provides Rails‑style request logging:

Each request receives a unique request id, timestamps should be in UTC (need more testing to check, Log use what timestamp).

Basic Usage

Handler Types

1. File Handler (with rotation)

2. Syslog Handler

3. Stdout Handler

4. Closure/ Broadcast Handler

Multiple Handlers Simultaneously

Log Levels

Each handler can have its own log level:

Testing

Notes

How to run testsuite

You can run tests using the Icebox CLI:

This will run all tests in the tests folder.

To run a specific test file or folder:

Any additional arguments are passed directly to PHPUnit, so you can use PHPUnit options:

For more options, see php icebox test --help.

Crud generator

php icebox generate crud box

Test all column type

php icebox g crud post title:string picture:string content:text published:boolean publish_date:date create_time:datetime decimal_col:decimal float_col:float int_col:integer time_col:time

Supported Column Types


All versions of framework with dependencies

PHP Build Version
Package Version
No informations.
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 icebox-php/framework contains the following files

Loading the files please wait ...