Download the PHP package efureev/laravel-support-db without Composer

On this page you can find all versions of the php package efureev/laravel-support-db. 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 laravel-support-db

laravel-support-db

PHP >= 8.5 Laravel >= 13.0 CI Codacy Badge Latest Stable Version Total Downloads

PostgreSQL features for Laravel's schema and query builders.

Laravel's builders cover what every database can do. This package adds the PostgreSQL parts they leave out — partial indexes, views, CREATE TABLE … LIKE, extensions, RETURNING, and the PostgreSQL-only column types — using the same fluent style, so they read like the rest of a migration.

It extends; it does not replace. Everything the framework already does keeps working unchanged.

Install

It registers itself through package discovery — no provider to add, no config to publish. Type-hint the package's Blueprint in migrations to get the additions in your editor:

Version
PHP >= 8.5
Laravel >= 13.0 (illuminate/database)
PostgreSQL 13 – 18, every one of them exercised in CI

compression() needs PostgreSQL 14 and nullsNotDistinct() needs 15; everything else works from

  1. The package takes effect on pgsql connections only — other drivers on the same application are untouched.

Documentation

Read it at https://efureev.github.io/laravel-support-db/, or as markdown in docs/.

The docs/ directory is not shipped in the Composer package — it would be dead weight in vendor/ — which is why the links below are absolute.

Page Covers
Getting started Requirements, version floors, how the package hooks in, a first migration
Columns The PostgreSQL-only column types, UUID key generation, TOAST compression
Indexes Partial and unique-partial indexes, predicates, modifiers, GIN operator classes
Views Plain and materialized views — create, refresh, inspect, drop, other schemas
Schema operations CREATE TABLE … LIKE / AS TABLE / AS SELECT, DROP … CASCADE, extensions
Query builder RETURNING on UPDATE and DELETE
Recipes Thirteen realistic problems worked end to end
Behaviour notes The things that are easy to trip over, and what Laravel 13 already does itself
Testing & contributing Running the suite, and the gate a pull request has to pass

What it adds

Partial and unique-partial indexes with a fluent WHERE · CREATE INDEX CONCURRENTLY and NULLS NOT DISTINCT on them · GIN indexes with an operator class · views, including materialized ones, with schema-qualified lookups · CREATE TABLE … LIKE / AS SELECT / AS TABLE · DROP TABLE … CASCADE · CREATE / DROP EXTENSION · column compression · UPDATE / DELETE … RETURNING · and shorthands for bit, numeric, xml, cidr, daterange, tsrange, the geometric types, the array types, and UUID primary keys that need no extension.

Contributing

Issues and pull requests are welcome — see Testing & contributing for the gate CI runs.

License

MIT — see LICENSE.


All versions of laravel-support-db with dependencies

PHP Build Version
Package Version
Requires php Version >=8.5
ext-pdo Version *
illuminate/database Version ^13.0
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 efureev/laravel-support-db contains the following files

Loading the files please wait ...