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.
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
- Restler Application Eloquent Template enables restler framework application's to utilize the power and elegance of eloquent
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
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