2017 © Pedro Peláez
 

library render

Custom PHP rendering library for the Laravel 5 framework - developed by Ixudra

image

ixudra/render

Custom PHP rendering library for the Laravel 5 framework - developed by Ixudra

  • Thursday, November 16, 2017
  • by Elimentz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 274 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 1 % Grown

The README.md

ixudra/render

Latest Version on Packagist license Total Downloads, (*1)

Custom PHP rendering package for the Laravel 5 framework - developed by Ixudra., (*2)

This package provides several utility methods that allow you to easily display several pieces of information such as dates, prices and much more. All of these representations can be configured depending on the locale of the user. This gives you the ability to display data in a way that is most desirable for your users without difficulty., (*3)

This package can be used by anyone at any given time, but keep in mind that it is optimized for my personal custom workflow. It may not suit your project perfectly and modifications may be in order., (*4)

Note before posting an issue: When posting an issue for the package, always be sure to provide as much information regarding the problem as possible., (*5)

Installation

Pull this package in through Composer., (*6)


{ "require": { "ixudra/render": "1.*" } }

or run in terminal: composer require ixudra/render, (*7)

Laravel 5.5+ Integration

Laravel's package discovery will take care of integration for you., (*8)

Laravel 5.* Integration

Add the service provider to your config/app.php file:, (*9)


'providers' => array( //... Ixudra\Render\RenderServiceProvider::class, ),

Add the facade to your app.php file, (*10)


'facades' => array( //... 'Render' => Ixudra\Render\Facades\Render::class, ),

Usage

Once all dependencies have been included and migrations have been run, you can start using the package:, (*11)


// Set the locale of the rendering engine so you don't have to repeat it all the time. This will remain set until manually changed Render::setLocale('en'); // Translate the message in the app default app locale Render::translate('your.key.goes.here'); // Translate the message recursively in a given locale - see my ixudra/translation package for details on recursive translations Render::recursive('admin.menu.title.new', array('model' => 'user'), true, $locale); // Display a date in the default app locale Render::date( '02/06/15', 'd/m/y' ); // Display a date in a specific locale Render::date( '02/06/15', 'd/m/y', 'en' ); // Display a value as currency in the default app locale Render::currency( 5123.6598 ); // Returns € 5.123,65 // Display a value as currency in a specific locale - COMING SOON Render::currency( 5123.6598, 'us' ); // Returns $ 5.123,65

That's all there is to it! Have fun!, (*12)

Support

Help me further develop and maintain this package by supporting me via Patreon!!, (*13)

License

This package is open-sourced software licensed under the MIT license, (*14)

Contact

For package questions, bug, suggestions and/or feature requests, please use the Github issue system and/or submit a pull request. When submitting an issue, always provide a detailed explanation of your problem, any response or feedback your get, log messages that might be relevant as well as a source code example that demonstrates the problem. If not, I will most likely not be able to help you with your problem. Please review the contribution guidelines before submitting your issue or pull request., (*15)

For any other questions, feel free to use the credentials listed below:, (*16)

Jan Oris (developer), (*17)

  • Email: jan.oris@ixudra.be
  • Telephone: +32 496 94 20 57

The Versions

16/11 2017

dev-master

9999999-dev http://ixudra.be

Custom PHP rendering library for the Laravel 5 framework - developed by Ixudra

  Sources   Download

MIT

The Requires

 

by Jan Oris

laravel rendering ixudra

16/11 2017

0.2.0

0.2.0.0 http://ixudra.be

Custom PHP rendering library for the Laravel 5 framework - developed by Ixudra

  Sources   Download

MIT

The Requires

 

by Jan Oris

laravel rendering ixudra

27/09 2017

0.1.2

0.1.2.0 http://ixudra.be

Custom PHP rendering library for the Laravel 5 framework - developed by Ixudra

  Sources   Download

MIT

The Requires

 

by Jan Oris

laravel rendering ixudra

18/07 2017

0.1.1

0.1.1.0 http://ixudra.be

Custom PHP rendering library for the Laravel 5 framework - developed by Ixudra

  Sources   Download

MIT

The Requires

 

by Jan Oris

laravel rendering ixudra

11/02 2017

0.1.0

0.1.0.0 http://ixudra.be

Custom PHP rendering library for the Laravel 5 framework - developed by Ixudra

  Sources   Download

MIT

The Requires

 

by Jan Oris

laravel rendering ixudra

09/02 2017

0.0.3

0.0.3.0 http://ixudra.be

Custom PHP rendering library for the Laravel 5 framework - developed by Ixudra

  Sources   Download

MIT

The Requires

 

by Jan Oris

laravel rendering ixudra

14/11 2015

0.0.2

0.0.2.0 http://ixudra.be

Custom PHP rendering library for the Laravel 5 framework - developed by Ixudra

  Sources   Download

MIT

The Requires

 

by Jan Oris

laravel rendering ixudra

14/11 2015

0.0.1

0.0.1.0 http://ixudra.be

Custom PHP rendering library for the Laravel 5 framework - developed by Ixudra

  Sources   Download

MIT

The Requires

 

by Jan Oris

laravel rendering ixudra