2017 © Pedro Peláez
 

project database

Get Laravel 5.2.x database for your non laravel projects. Built on top of illuminate/database to provide migration, seeding and artisan support

image

laravel/database

Get Laravel 5.2.x database for your non laravel projects. Built on top of illuminate/database to provide migration, seeding and artisan support

  • Saturday, June 9, 2018
  • by Arul
  • Repository
  • 4 Watchers
  • 37 Stars
  • 17,219 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 8 Versions
  • 13 % Grown

The README.md

Laravel Database

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

It enables artisan command line tool with:, (*2)

Available commands:

  db                Start a new database CLI session
  dump-autoload     Regenerate framework autoload files
  env               Display the current framework environment
  help              Display help for a command
  inspire           Display an inspiring quote
  list              List commands
  migrate           Run the database migrations
  serve             Serve the application on the PHP development server
  tinker            Interact with your application

db
  db:seed           Seed the database with records
  db:wipe           Drop all tables, views, and types

make
  make:command      Create a new Artisan command
  make:controller   Create a new controller class
  make:factory      Create a new model factory
  make:migration    Create a new migration file
  make:model        Create a new Eloquent model class
  make:seeder       Create a new seeder class

migrate
  migrate:fresh     Drop all tables and re-run all migrations
  migrate:install   Create the migration repository
  migrate:refresh   Reset and re-run all migrations
  migrate:reset     Rollback all database migrations
  migrate:rollback  Rollback the last database migration
  migrate:status    Show the status of each migration

vendor
  vendor:publish    Publish any publishable assets from vendor packages

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

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., (*4)

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., (*5)

Install Laravel Database

Install Laravel Database by issuing the Composer create-project command in your terminal:, (*6)

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., (*7)

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, (*8)

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., (*9)

Credits

All the credits for the Laravel Database goes to the Laravel Framework developers. We are only putting the pieces together here, (*10)

Contributing

Issues and pull requests relating to this integration should be filed on the laravel/database repository., (*11)

License

The Laravel Database is open-sourced software licensed under the MIT license, (*12)

The Versions

09/06 2018

dev-master

9999999-dev

Get Laravel 5.2.x database for your non laravel projects. Built on top of illuminate/database to provide migration, seeding and artisan support

  Sources   Download

MIT

The Requires

 

The Development Requires

by Arul Kumaran

orm database laravel sql

28/07 2016

5.2.x-dev

5.2.9999999.9999999-dev

Get Laravel 5.2.x database for your non laravel projects. Built on top of illuminate/database to provide migration, seeding and artisan support

  Sources   Download

MIT

The Requires

 

The Development Requires

by Arul Kumaran

orm database laravel sql

28/07 2016

5.2.3

5.2.3.0

Get Laravel 5.2.x database for your non laravel projects. Built on top of illuminate/database to provide migration, seeding and artisan support

  Sources   Download

MIT

The Requires

 

The Development Requires

by Arul Kumaran

orm database laravel sql

09/06 2016

5.2.2

5.2.2.0

Get Laravel 5.2.x database for your non laravel projects. Built on top of illuminate/database to provide migration, seeding and artisan support

  Sources   Download

MIT

The Requires

 

The Development Requires

by Arul Kumaran

orm database laravel sql

19/05 2016

5.2.1

5.2.1.0

Get Laravel 5.2.x database for your non laravel projects. Built on top of illuminate/database to provide migration, seeding and artisan support

  Sources   Download

MIT

The Requires

 

The Development Requires

by Arul Kumaran

orm database laravel sql

15/05 2016

5.2.0

5.2.0.0

Get Laravel 5.2.x database for your non laravel projects. Built on top of illuminate/database to provide migration, seeding and artisan support

  Sources   Download

MIT

The Requires

 

The Development Requires

by Arul Kumaran

orm database laravel sql

15/05 2016

4.2.x-dev

4.2.9999999.9999999-dev

Get Laravel 4.2.x database for your non laravel projects. Built on top of illuminate/database to provide migration, seeding and artisan support

  Sources   Download

MIT

The Requires

 

The Development Requires

by Arul Kumaran

orm database laravel sql

15/05 2016

4.2.0

4.2.0.0

Get Laravel 4.2.x database for your non laravel projects. Built on top of illuminate/database to provide migration, seeding and artisan support

  Sources   Download

MIT

The Requires

 

The Development Requires

by Arul Kumaran

orm database laravel sql