Newsletter Archive

Skipper 3.2.17: Laravel Eloquent beta

Sent March 18, 2019 · Release · Skipper 3.2.17

Laravel
Eloquent
Migrations

This newsletter announced the first public beta of Laravel Eloquent support in March 2019. The mail headline names version 3.2.18, but the build released on the send date was 3.2.17, so this page shows the 3.2.17 changelog. The beta exported Laravel migrations from revision checkpoints and model objects to base and derived classes.

Skipper support for Laravel. Download 3.2.18 version

Hello,

Today's Skipper release is quite special. It brings you something, what we have been working on for a couple of months. What is going on? It is a support for Laravel Eloquent framework.

Laravel support is a huge thing for Skipper. It brings some new elements to a model, which we have been discussing with many Laravel users a lot. But still, it is completely new and that's why we decided to release Skipper with Laravel support as a beta version.

We want to hear your feedback

We would be happy for any user, who will use Skipper with Laravel Eloquent support and share with us his experiences. If there is something we can do better, let us know and we would do our best to improve it. Write to us on our support forum or send an email to [email protected].

How Laravel Eloquent support works

  • Complete support for migrations as well as Laravel model objects is implemented.
  • Migrations are automatically exported from revision checkpoints defined in the application.
  • Model objects are exported to base classes and derived classes.
  • Base classes are updated during every export.
  • Derived classes are exported only once and prepared for your further editing.
  • Import of Laravel project can be executed through Database import (MySQL, Postgres, SQLite, SQLServer).
  • Everything from Laravel Eloquent is supported except polymorphic relations (will be added later)

Links to Laravel support documentation

Have a nice day

Skipper Team

Changes in version 3.2.17.1521

  • First Laravel public beta (New!)
  • Added cast_format property used to customize $casts datatypes (Laravel) (New!)
  • Added "reset" field templates for Laravel (New!)
  • Reworked file paths for Laravel. New file names are completely based on namespaces and PSR-4 (New!)
  • Automatically pre-filled Laravel association aliases (New!)
  • Support for $casts property to define datatypes of fields (New!)
  • Added support for multiple PK fields in Laravel (New!)
  • Added datatype pairing betwee MySQL Workbench import and Laravel (New!)
  • Added decimal configuration for Laravel for (double, float and decimal) (New!)
  • Support for custom MN table attributes (Laravel) (New!)
  • Support for Laravel many-to-many association in generated base class and migrations (New!)
  • Support for pivot attribute customization for ManyToMany (Laravel) (New!)
  • Support for Laravel associations in generated base class (New!)
  • Laravel derived class one-time export implemented (New!)
  • Import Laravel project from MySQL workbench - convert plural table names to singular entity names (New!)
  • Import Laravel project from MySQL workbench - datatypes support (New!)
  • Export Laravel model base classes (New!)
  • New table entity property to define custom database table name (Laravel) (New!)
  • Added default namespace and module export settings for project imported from Database
  • Automatically add created_at and updated_at to new entity (Laravel)
  • Automatically set $timestamps=false if entity doesn't have timestamps fields (Laravel)
  • Ability to generate unique foreign key names by uuids (Laravel)
  • Improved $casts datetime datatypes (Laravel)
  • Use underline for association fields (Laravel)
  • Support for fillable_all property in entity properties. allows all properties to be fillable.
  • Renamed properties is_fillable, is_guarded and fillable_all to isFillable, isGuarded and fillableAll (Laravel)
  • Added "extends" entity property to define different base object for Model objects (Laravel)
  • Laravel "unsigned" type used as core type instead ORM property
  • Removed keyword Base from Laravel base class and base files
  • Laravel entities in singular, Laravel tables in plural form
  • Reworked fillable_all logic to allow choose between as-guarded-none and as-fillable-all type (first exports empty $guarded=[], second exports $fillable=[all-fields,...]
  • Reworked Php output generator formating for Laravel and CakePhp
  • Renamed cast_format, pivot_attribute to castFormat and pivotAttribute (Laravel)
  • Changed Laravel base models namespace to Apps\Models\Base
  • Fixed is_guarded and is_fillable in Laravel export (to guarded / fillable)
  • Fixed migration issue when parent update and child delete is performed in one revision
  • Fixed invalid rename of entities in migrations (Laravel)
  • Fixed revert migration export for some properties (Laravel)
  • Fixed erased property handling in migratios (Laravel)
  • Fixed decimal import from MySql database to Laravel project
  • Fixed cross-module association migration in Laravel
  • Fixed dropForeign via foreign key name (Laravel)
  • Fixed Laravel regions support
  • Fixed invalid Laravel migration file name
  • Fixed Laravel invalid primary key export
  • Fixed invalid Laravel migration naming
  • Fixed primary/unique/autoIncrement key generator (Laravel)
  • Laravel export update - space after uses
  • Fixed ordering of items in migration down() generator (Laravel)
  • Fixed Laravel down() migration for field datatype change
  • Fixed export of multiple Laravel modules
  • Fixed dropping foreign keys in Laravel migrations (via array of fields)
  • Fixed Laravel default values encapsulating in migrations and models
  • Fixed few more PSR-2 issues (Laravel)
  • Fixed datatype sizes export for non-string and non-numeric datatypes (Laravel)
  • Fixed "public" keyword for exported Laravel primaryKeys
  • Fixed export of enums for Laravel (string vs numeric values)
  • Fixed Laravel "belongsToMany" export
  • Fixed "public" keyword for $incrementing variable instead of "private" (Laravel)
  • Fixed migration order when fields and associations are created in one step

Build 3.2.17.1521, released March 18, 2019. All previous releases

Try the latest Skipper version

Download
FREE TRIAL