PHP Classes

HelpMate: Example of a Laravel helper class

Recommend this page to a friend!

  Author Author  
Picture of Hicri
Name: Hicri <contact>
Classes: 10 packages by
Country: Turkey Turkey
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz  
This package provides an example of a Laravel helper class.

It provides a service class that can be queried to return the list of commands made available by a helper command class.

The helper commands in its base class provide several helper functions that can do anything other parts of the Laravel-based application need.

Currently, the helper command class provides functions for:

- Get the date format from a given date string

- Send an abort response with a given code

- Get the URL of a given application asset

- Check if two numbers are divisible

Details

LaravelHelperClass

Latest Stable Version Latest Unstable Version License

A simple helper class implementation for Laravel.

Config

Run the Composer require command from the Terminal:

composer require slvler/helpmate

If you're using Laravel 8.6

the final steps for you are to add the service provider of the package and alias the package. To do this open your config/app.php file.

Add a new line to the providers array:

Qwerty\HelperService\Providers\QwertyHelperServiceProvider::class

function list command the Terminal:

php artisan helper:list

  Classes of Hicri  >  HelpMate  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: HelpMate
Base name: helpmate
Description: Example of a Laravel helper class
Version: -
PHP version: 5
License: The PHP License
 
  Groups   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Utilities and Tools General purpose tools to simplify software development View top rated classes
Group folder image Libraries Frameworks and libraries of cooperating classes View top rated classes


  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Files folder imagesrc (3 files, 1 directory)
Files folder imagetests (2 directories)
Accessible without login Plain text file .styleci.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imageCommands (1 file)
  Plain text file QwertyHelper.php Class Class source
  Plain text file QwertyHelperCommand.php Class Class source
  Plain text file QwertyHelperServiceProvider.php Class Class source

  Files folder image Files  /  src  /  Commands  
File Role Description
  Plain text file HelperCommand.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageFeature (1 file)
Files folder imageUnit (1 file)

  Files folder image Files  /  tests  /  Feature  
File Role Description
  Plain text file helpmateTest.php Class Class source

  Files folder image Files  /  tests  /  Unit  
File Role Description
  Plain text file TestCase.php Class Class source

Download Download all files: helpmate.tar.gz helpmate.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
  Files folder image Files  
File Role Description
Files folder imagesrc (3 files, 1 directory)
Files folder imagetests (2 directories)
Accessible without login Plain text file .styleci.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imageCommands (1 file)
  Plain text file QwertyHelper.php Class Class source
  Plain text file QwertyHelperCommand.php Class Class source
  Plain text file QwertyHelperServiceProvider.php Class Class source

  Files folder image Files  /  src  /  Commands  
File Role Description
  Plain text file HelperCommand.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageFeature (1 file)
Files folder imageUnit (1 file)

  Files folder image Files  /  tests  /  Feature  
File Role Description
  Plain text file helpmateTest.php Class Class source

  Files folder image Files  /  tests  /  Unit  
File Role Description
  Plain text file TestCase.php Class Class source

Download Download all files: helpmate.tar.gz helpmate.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.