PHP Classes

Logical Functions: General-purpose PHP and JavaScript functions

Recommend this page to a friend!
  Info   Documentation   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 107 All time: 9,683 This week: 140Up
Version License PHP version Categories
logical-functions 1.0.0The PHP License5HTML, Email, Networking, HTTP, PHP 5, E..., C..., T..., L..., W..., G..., V..., S..., G...
Description 

Author

This package provides general-purpose PHP and JavaScript functions.

The PHP functions can do the following:

- Generate string with random letters

- Get the IP address of the computer of the current user

- Get the URL of the current page

- Get the geographic location associated with the IP address of the current user

- Get the values of specific parameters of an HTTP POST request

- Check if the current user is still active after a given timeout period

- Generate a secure hash for a given password or verify if a hashed password matches a given hash

- Generate a slug text for a given password

- Encrypt and decrypt data using the OpenSSL extension

- Validate a given email address

- Verify a payment made using PayStack


The JavaScript functions can do the following:

- Check if an array of integers has a unique integer

- Find the minimum or maximum value in an array of integers

- Check if an integer is a prime number

- Check if a text is a palindrome

- Find all page elements with a given CSS class

Picture of bamigboye biodun
Name: bamigboye biodun <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 4396557 in United States United States
Week rank: 170 Up21 in United States United States Up

Documentation

logical-functions

This contains standalone functions that can be used in projects majorly in php and Js. its open source. feel free to use optimize and contribute


Screenshots (8)  
  • screenshots/js/FIND-LONELY-INT.png
  • screenshots/js/isPrimeNumber.png
  • screenshots/js/palindrome.png
  • screenshots/js/palindrome_updated.png
  • screenshots/php/accessing_object_keys_dynamically.png
  • screenshots/php/PASSWORD.png
  • screenshots/php/workingWithObject.php
  • screenshots/php/workingWithObject.png
  Files folder image Files (33)  
File Role Description
Files folder imagejs (8 files)
Files folder imagephp (15 files)
Files folder imagescreenshots (1 directory)
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (33)  /  js  
File Role Description
  Accessible without login Plain text file CaptureImage.vue Data Auxiliary data
  Accessible without login Plain text file findLonelyInt.js Data Auxiliary data
  Accessible without login Plain text file findMax.js Data Auxiliary data
  Accessible without login Plain text file findMinimumValue.js Data Auxiliary data
  Accessible without login Plain text file isPalindrome.js Data Auxiliary data
  Accessible without login Plain text file isPrimeNumber.js Data Auxiliary data
  Accessible without login Plain text file obtainInputValuesByClassName.js Data Auxiliary data
  Accessible without login Plain text file paystack.html Data Example page to make a payment with the Paystack service

  Files folder image Files (33)  /  php  
File Role Description
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Accessible without login Plain text file accessing_object_keys_dynamically.php Example Example script
  Accessible without login Plain text file genRandomAlphabet.php Aux. Auxiliary script
  Accessible without login Plain text file getClientIp.php Aux. Auxiliary script
  Accessible without login Plain text file getCurrentPageUrl.php Aux. Auxiliary script
  Accessible without login Plain text file getCurrentTime.php Example Example script
  Accessible without login Plain text file getLocation.php Aux. Auxiliary script
  Accessible without login Plain text file getPostRequest.php Aux. Auxiliary script
  Accessible without login Plain text file isSessionTimeOut.php Aux. Auxiliary script
  Accessible without login Plain text file securePasssword.php Aux. Auxiliary script
  Accessible without login Plain text file slug.php Aux. Auxiliary script
  Accessible without login Plain text file twoWayEncryption.php Aux. Auxiliary script
  Accessible without login Plain text file validateEmail.php Aux. Auxiliary script
  Accessible without login Plain text file verifyPaymentPaystack.php Aux. Auxiliary script
  Accessible without login Plain text file workingWithObject.php Example Example script

  Files folder image Files (33)  /  screenshots  
File Role Description
Files folder imagejs (1 file)

  Files folder image Files (33)  /  screenshots  /  js  
File Role Description
  Accessible without login Plain text file obtainInputValuesByClassNameUseCase.html Data Example HTML page

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:107
This week:0
All time:9,683
This week:140Up