PHPackages                             thibaud-dauce/sql-view - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. thibaud-dauce/sql-view

AbandonedLibrary[Database &amp; ORM](/categories/database)

thibaud-dauce/sql-view
======================

Create SQL view

v0.1(11y ago)09MITPHPPHP &gt;=5.4.0

Since Jul 30Pushed 11y ago1 watchersCompare

[ Source](https://github.com/ThibaudDauce/SQLView)[ Packagist](https://packagist.org/packages/thibaud-dauce/sql-view)[ RSS](/packages/thibaud-dauce-sql-view/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

SQLView
=======

[](#sqlview)

[![Build Status](https://camo.githubusercontent.com/934022714700a6ca8ae079139dc21745213c8a663ffb3fb0693f469f498fa84f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f5468696261756444617563652f53514c566965772f6d61737465722e7376673f7374796c653d666c6174)](https://travis-ci.org/ThibaudDauce/SQLView)[![Software License](https://camo.githubusercontent.com/f251623e510f5909f16ae3f4e6e548dac11340b9fde1a99be26b015b39272c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c6174)](LICENSE.md)

Introduction
------------

[](#introduction)

SQLView package allows you to easily create view for your database.

Installation
------------

[](#installation)

[PHP](https://php.net) 5.4+ and [Laravel](http://laravel.com) 4.2+ are required.

To get the latest version of SQLView, simply require `"thibaud-dauce/sqsl-view": "0.*"` in your `composer.json` file. You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.

Once SQLView is installed, you need to register the service provider. Open up `app/config/app.php` and add the following to the `providers` key.

- `'ThibaudDauce\SQLView\SQLViewServiceProvider'`

You can register the `SQLView` facade in the `aliases` key of your `app/config/app.php` file if you like.

- `'SQLView' => 'ThibaudDauce\SQLView\Facades\SQLView'`

Usage
-----

[](#usage)

Create a migration file as usual with artisan: `php artisan migrate:make add_user_view`

And then fill it like this:

```
