PHP Classes

Packages of Alun

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of Alun (2)  >  Mission progress status  >  Reputation  
Picture of Alun
Name: Alun is available for providing paid consulting. Contact Alun .
Classes: 2
Country: Spain Spain
Age: 36
All time rank: 4532121 in Spain Spain
Week rank: 195 Up5 in Spain Spain Up
All time users: 23
Week users: 0
Innovation award
Innovation award
Nominee: 1x
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Flexible Laravel Migration...  
PHP Programming Innovation award nominee
January 2024
Number 4
Provide a Laravel migration data seeder class
This package can provide a Laravel migration data seeder class.

It implements a seedable migrations service that registers listener classes to handle migration end events.

These event listener classes are called database migration seeder classes that can implement a simpler migration data seeder.

Applications can extend the base seeder class this package provides to implement simple database migration data seeding.

  Files folder image Laravel Numeral  
Perform operations and format number values
This package can perform operations and format number values.

It provides two classes that provide several functions to perform several operations on numbers that can be taken from strings.

One class is a base class that implements base number operations. The other is a numeral class that provides the same functions, assuming specific default values of the class function parameters.

Currently, the base class provides functions to:

- Check if the value is numeric, odd, even, integer, float, positive, negative, or zero

- Change the sign of the number between positive and negative

- Format the number as a string

- Spell the number with words

- Convert the number to the ordinal form

- Convert the given number to its percentage equivalent.

- Convert the given number to its currency equivalent.

- Convert the given number to its file size equivalent.

- Convert the number to its human-readable equivalent.

- Convert the number to its human-readable equivalent.

- Convert the number to its human-readable equivalent.

- Clamp the given number between the given minimum and maximum.

- Counts the length of a numeral.

- Returns a random number using the Randomizer class from PHP.

- Returns a random number between the given min and max values.

- Get the greatest common divisor of two numbers.

- Get the least common multiple of two numbers.

- Get the factorial of a number.


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z