Skip to content

Commit

Permalink
Merge branch 'master' of github.com:spatie/fractalistic
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jan 19, 2017
2 parents 74ad46a + 07ed334 commit 9bba147
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The MIT License (MIT)

Copyright (c) 2015 Spatie bvba <[email protected]>
Copyright (c) 2017 Spatie bvba <[email protected]>

> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ There's also a very short syntax available to quickly transform data:
Fractal::create($books, new BookTransformer())->toArray();
```

If you want to use this package inside Laravel, it's recommend to use [laravel-fractal](https://github.com/spatie/laravel-fractal) instead. That package contains a few more whistles and bells specifically targetted at Laravel users.


Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all
our open source projects [on our website](https://spatie.be/opensource).

Expand Down Expand Up @@ -290,10 +293,6 @@ Fractal::create(['item1', 'item2'], function ($item) {
})->toArray();
```

## Quickly creating a transformer

You can run the `make:transformer` command to quickly generate a dummy transformer. By default it will be stored in the `app\Transformers` directory.

## Change log

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
Expand Down

0 comments on commit 9bba147

Please sign in to comment.