2017 © Pedro PelĂĄez
 

library laravel-stapler-extra

This package add some features that laravel-stapler doesn't have

image

mixdinternet/laravel-stapler-extra

This package add some features that laravel-stapler doesn't have

  • Friday, January 29, 2016
  • by mixdinternet
  • Repository
  • 2 Watchers
  • 0 Stars
  • 986 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 2 % Grown

The README.md

Laravel Stapler Extra

This package add some features that laravel-stapler doesn't have, (*1)

Requirements

This package currently requires Laravel >= 5.1., (*2)

Installation

Laravel-Stapler-Extra is distributed as a composer package, which is how it should be used in your app., (*3)

Install the package using Composer. Edit your project's composer.json file to require mixdinternet/laravel-stapler-extra., (*4)

  "require": {
    "mixdinternet/laravel-stapler-extra": "0.1.*"
  }

or, (*5)

  composer require mixdinternet/laravel-stapler-extra

Once this operation completes, the final step is to change to your custom class, (*6)

Open /config/laravel-stapler/bindings.php, (*7)

Change:, (*8)

  'interpolator' => '\Codesleeve\Stapler\Interpolator',

to, (*9)

  'interpolator' => '\Mixdinternet\LaravelStaplerExtra\Interpolator',

Custom Interpolations

  • :filename_slugify - Apply str_slug() on file attachment name, e.g atenção.jpg -> atencao.jpg.
  • :class_lower - The class name (lowercase) of the model containing the file attachment, e.g user. This will include the class namespace.
  • :class_name_lower - The class name (lowercase) of the model, without its namespace.
  • :namespace_lower - The namespace (lowercase) of the model containing the file attachment, e.g mixdinternet/user.

The Versions

29/01 2016

dev-master

9999999-dev

This package add some features that laravel-stapler doesn't have

  Sources   Download

MIT

The Requires

 

laravel upload image stapler

29/01 2016

0.1.1

0.1.1.0

This package add some features that laravel-stapler doesn't have

  Sources   Download

MIT

The Requires

 

laravel upload image stapler

29/01 2016

0.1.0

0.1.0.0

This package add some features that laravel-stapler doesn't have

  Sources   Download

MIT

The Requires

 

laravel upload image stapler