preemiere / laravel-ide-helper
This package is abandoned and no longer maintained.
No replacement package was suggested.
Laravel IDE Helper, provide faker classes for Eloquent Schema Builder, to improve auto-completion.
1.1.0
2015-12-20 23:26 UTC
Requires
- php: >=5.4.0
- illuminate/database: 5.0.x|5.1.x
- illuminate/support: 5.0.x|5.1.x
This package is not auto-updated.
Last update: 2016-09-03 21:05:00 UTC
README
Laravel IDE Helper, provide faker classes for Eloquent Schema Builder, to improve auto-completion.
Install
Require this package with composer using the following command:
composer require preemiere/laravel-ide-helper
Usage
To use this helper, just use this Blueprint class instead builtin
use preemiere\LaravelIdeHelper\Database\Schema\Blueprint;
It should look like this
<?php
use Illuminate\Database\Migrations\Migration;
use preemiere\LaravelIdeHelper\Database\Schema\Blueprint;
class CreateTable extends Migration
{
public function up() {
Schema::create('table', function (Blueprint $table) {
$table->increments('id');
$table->timestamps();
});
}
public function down() {
Schema::drop('table');
}
}