PHP Classes

XtPHP: General purpose library of utility classes

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 40%Total: 417 All time: 6,429 This week: 673Up
Version License PHP version Categories
xtphp 1.0.0GNU General Publi...5PHP 5, Libraries
Description 

Author

This package is a general purpose PHP library of utility classes.

It provides classes for several purpose like: manipulating dates, performing math operations with array elements, querying MySQL database tables, store, update and delete data from databases, processing templates, validating form inputs, etc..

Picture of Everton da Rosa
  Performance   Level  
Innovation award
Innovation award
Nominee: 3x

 

Example

<?php

require '../store.php';
require
'../utils.php';

require
'store.php';

$csv = XtStore::toCSV($store);//coloca o nome dos campos do store como nomes de colunas
XtUtils::printr($csv);

$csv = XtStore::toCSV($store, array('Código', 'Nome'));//coloca nomes de colunas personalizados
XtUtils::printr($csv);

$csv = XtStore::toCSV($store, false);//não coloca nomes de colunas
XtUtils::printr($csv);

?>


  Files folder image Files (66)  
File Role Description
Files folder imagedoc (3 files, 2 directories)
Files folder imageexamples (45 files)
Accessible without login Plain text file changelog.txt Data Documentation
Plain text file date.php Class Class source
Accessible without login Plain text file error.php Aux. Class source
Accessible without login Plain text file licence.txt Lic. License text
Plain text file math.php Class Class source
Plain text file mysql.php Class Class source
Plain text file store.php Class Class source
Plain text file template.php Class Class source
Plain text file utils.php Class Class source

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:417
This week:0
All time:6,429
This week:673Up
User Ratings User Comments (1)
 All time
Utility:58%StarStarStar
Consistency:58%StarStarStar
Documentation:-
Examples:58%StarStarStar
Tests:-
Videos:-
Overall:40%StarStarStar
Rank:3780
 
Great work! Usefull script.
10 years ago (richard)
70%StarStarStarStar