jds-ventures/lumen-v7-laravel-helpers

Adds a popular set of Laravel helper functions into lumen v7.X

dev-master 2020-06-22 18:21 UTC

This package is auto-updated.

Last update: 2024-10-29 06:11:50 UTC


README

Latest Stable Version

Adds a popular set of Laravel helper functions into lumen v7.X such as public_path, config_path, mix and more

This project is NOT ready for use in production as full UNIT testing has not been performed

Requirements

  • PHP >= 7.3+;
  • A project running Lumen Framework ^7.x;

Features

  • PSR-4 autoloading compliant structure;
  • PSR-2 compliant code style;
  • No configureation required, works just the same as Laravel;

Installation

composer require jds-ventures/lumen-v7-laravel-helpers

This will autoload all the helper functions included within src/helpers.php

  • /src/helpers.php is where the helpers functions are stored;

Changelog

To keep track, please refer to CHANGELOG.md.

Contributing

  1. Fork it.
  2. Create your feature branch (git checkout -b my-new-feature).
  3. Make your changes.
  4. Run the tests, adding new ones for your own code if necessary (phpunit).
  5. Commit your changes (git commit -am 'Added some feature').
  6. Push to the branch (git push origin my-new-feature).
  7. Create new pull request.

Also please refer to CONTRIBUTION.md.

License

Please refer to LICENSE.