Download the PHP package centamiv/concrete without Composer

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

Concrete ORM

Concrete is a simple and solid ORM for PHP applications. It provides an elegant Active Record implementation and a fluent Query Builder to interact with your database.

Installation

Configuration

Initialize the database connection once, typically in your bootstrap file.

MySQL

SQLite

PostgreSQL

SQL Server


Defining Models

Extend Concrete\Model and declare the TABLE constant. The primary key defaults to id.

Custom & Composite Primary Keys


CRUD

Create

Read

Update

Delete


Query Builder

Access the builder via Model::query().

Filtering

where

Supported operators: = != <> < > <= >= LIKE NOT LIKE IN NOT IN IS IS NOT

whereIn / whereNotIn

Pass a plain array or a subquery Builder as the second argument.

An empty array in whereIn generates 1 = 0 (always false); in whereNotIn it generates 1 = 1 (always true).

whereExists / whereNotExists

whereColumn

Compare two column identifiers without parameterization — used for correlated subqueries.

Supported operators: = != <> < > <= >=


Ordering


Joins


Conditional Selection — CASE

Build CASE WHEN … THEN … ELSE … END expressions with When. Pass them directly to select().

Result type rules for then() / else():

PHP type SQL
int / float embedded literal (1, 3.14)
null NULL literal
string bound as PDO named parameter

Scalar Subqueries in select()

Use Subquery to embed a correlated scalar subquery as a column.


UNION

Combine the results of two or more queries with union() (distinct rows) or unionAll() (all rows including duplicates).

orderBy(), take(), and skip() called on the outermost builder apply to the whole union result.


Limiting Results


Aggregates & Helpers


Bulk Update & Delete via Builder


Raw Arrays

Use getRows() / firstRow() to retrieve plain associative arrays instead of model instances.


Advanced

Inspecting the Generated SQL

Raw PDO Queries

Standalone Builder


Requirements


Laravel Integration

Reuse an existing Laravel PDO connection via initFromPDO.

Then use Concrete models alongside Eloquent in your controllers.


License

MIT


All versions of concrete with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-pdo 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 centamiv/concrete contains the following files

Loading the files please wait ...