Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Add inspiration and logo
Browse files Browse the repository at this point in the history
  • Loading branch information
sjelfull committed Nov 18, 2017
1 parent 76b10e6 commit 2959a3f
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 115 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Use Laravel Collections in Craft

![Screenshot](resources/icon.png)
![Screenshot](resources/img/icon.png)

## Requirements

Expand All @@ -24,11 +24,19 @@ To install the plugin, follow these instructions.

## Collections Overview

-Insert text here-
Here is some good inspiration on what you can do with Collections:

- [Collections documentation](https://laravel.com/docs/5.5/collections)
- [Laravel Collections: PHP Arrays On Steroids](https://scotch.io/tutorials/laravel-collections-php-arrays-on-steroids)
- [Laravel Collections Examples on GitHub](https://github.com/fakiolinho/laravel-collections-examples)
- [Laravel Collections “when” Method](https://laravel-news.com/laravel-collections-when-method)
- [Code Bright: Eloquent Collections](https://daylerees.com/codebright-eloquent-collections/)
- [Refactoring To Collection](https://adamwathan.me/refactoring-to-collections/)
- [10 less-known (but awesome!) Laravel Collections methods](http://laraveldaily.com/10-less-known-but-awesome-laravel-collections-methods/)

## Configuring Collections

Add your macros to the config file
Add your macros to the config file:

```php
<?php
Expand Down Expand Up @@ -57,13 +65,7 @@ return [

```twig
{% set collection = [ 'str', 'Sst', 'psst' ] | collect %}
{{ dump(collection.toUpper) }}
{{ dump(collection.toUpper()) }}
```

## Collections Roadmap

Some things to do, and ideas for potential features:

* Release it

Brought to you by [Superbig](https://superbig.co)
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"name": "Collections",
"handle": "collections",
"schemaVersion": "2.0.0",
"hasCpSettings": true,
"hasCpSettings": false,
"hasCpSection": false,
"changelogUrl": "https://raw.githubusercontent.com/sjelfull/craft3-collections/master/CHANGELOG.md",
"components": {
Expand Down
Binary file added resources/img/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed resources/img/plugin-logo.png
Binary file not shown.
52 changes: 0 additions & 52 deletions src/icon-mask.svg

This file was deleted.

71 changes: 19 additions & 52 deletions src/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2959a3f

Please sign in to comment.