Download the PHP package laravel/database without Composer

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

Laravel Database

Provides full laravel database functionality for your non laravel projects adds Migration, Seeding and Artisan support to Illuminate Database.

It enables artisan command line tool with:

Laravel is a web application framework with expressive, elegant syntax. We extracted the database functionality from it and made it available for other frameworks.

The Illuminate Database component is a full database toolkit for PHP, providing an expressive query builder, ActiveRecord style ORM, and schema builder. It currently supports MySQL, Postgres, MSSQL Server, and SQLite. We combined it with Illuminate FileSystem and Illuminate Console to make Artisan work with database related commands.

Installation

Install Composer

Laravel Database utilizes Composer to manage its dependencies. First, download a copy of the composer.phar. Once you have the PHAR archive, you can either keep it in your local project directory or move to usr/local/bin to use it globally on your system. On Windows, you can use the Composer Windows installer.

Install Laravel Database

Install Laravel Database by issuing the Composer create-project command in your terminal:

composer create-project laravel/database --prefer-dist

Usage Instructions

From your public index.php include the autoload.php in bootstrap folder this internally uses composer autoloader. This enables lazy loading of all db related classes. It doest not boot the database engine until you call one of the DB related class.

Adding More Components

For instructions on how to add more laravel components or compatible third party service providers etc., read the comments in app/config/app.php file

Practical Usage Example

Official Documentation

Documentation for the entire framework can be found on the Laravel website. Refer to all database related sections from there.

Credits

All the credits for the Laravel Database goes to the Laravel Framework developers. We are only putting the pieces together here

Contributing

Issues and pull requests relating to this integration should be filed on the laravel/database repository.

License

The Laravel Database is open-sourced software licensed under the MIT license


All versions of database with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8
illuminate/cache Version ^8
illuminate/database Version ^8
illuminate/events Version ^8
illuminate/filesystem Version ^8
illuminate/pagination Version ^8
league/flysystem Version ^1.0
psy/psysh Version ^0.10.4
symfony/process Version ^5
vlucas/phpdotenv Version ^5
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 laravel/database contains the following files

Loading the files please wait ....