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,424 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  
Name: Everton da Rosa <contact>
Classes: 17 packages by
Country: Brazil Brazil
Age: 43
All time rank: 78555 in Brazil Brazil
Week rank: 29 Up3 in Brazil Brazil Up
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

  Files folder image Files (66)  /  doc  
File Role Description
Files folder imageapp (3 files)
Files folder imagexml (6 files)
  Accessible without login Plain text file index.php Aux. Auxiliary script
  Accessible without login Plain text file main.php Aux. Auxiliary script
  Accessible without login Plain text file style.css Data Documentation

  Files folder image Files (66)  /  doc  /  app  
File Role Description
  Accessible without login Plain text file class.php Aux. Auxiliary script
  Accessible without login Plain text file method.php Aux. Auxiliary script
  Accessible without login Plain text file side.php Aux. Auxiliary script

  Files folder image Files (66)  /  doc  /  xml  
File Role Description
  Accessible without login Plain text file date.xml Data Auxiliary data
  Accessible without login Plain text file math.xml Data Auxiliary data
  Accessible without login Plain text file mysql.xml Data Auxiliary data
  Accessible without login Plain text file store.xml Data Auxiliary data
  Accessible without login Plain text file template.xml Data Auxiliary data
  Accessible without login Plain text file utils.xml Data Auxiliary data

  Files folder image Files (66)  /  examples  
File Role Description
  Accessible without login Plain text file CREDOR.TXT Data Auxiliary data
  Accessible without login Plain text file cross.php Example Example script
  Accessible without login Plain text file date_getdiff.php Example Example script
  Accessible without login Plain text file date_parsedate.php Example Example script
  Accessible without login Plain text file math.php Example Example script
  Accessible without login Plain text file moviemp.csv Data Auxiliary data
  Accessible without login Plain text file mysql_connection.php Example Example script
  Accessible without login Plain text file mysql_delete.php Example Example script
  Accessible without login Plain text file mysql_dumpdbfromodbc.php Example Example script
  Accessible without login Plain text file mysql_dumptablefromodbc.php Example Example script
  Accessible without login Plain text file mysql_insert.php Example Example script
  Accessible without login Plain text file mysql_qry.php Example Example script
  Accessible without login Plain text file mysql_select.php Example Example script
  Accessible without login Plain text file mysql_truncate.php Example Example script
  Accessible without login Plain text file mysql_update.php Example Example script
  Accessible without login Plain text file store.php Example Example script
  Accessible without login Plain text file store.xml Data Auxiliary data
  Accessible without login Plain text file store_addcol.php Example Example script
  Accessible without login Plain text file store_addrow.php Example Example script
  Accessible without login Plain text file store_applyfn.php Example Example script
  Accessible without login Plain text file store_delcol.php Example Example script
  Accessible without login Plain text file store_delrow.php Example Example script
  Accessible without login Plain text file store_fields.php Example Example script
  Accessible without login Plain text file store_find.php Example Example script
  Accessible without login Plain text file store_fromcsv.php Example Example script
  Accessible without login Plain text file store_fromfixed.php Example Example script
  Accessible without login Plain text file store_frommysql.php Example Example script
  Accessible without login Plain text file store_fromxml.php Example Example script
  Accessible without login Plain text file store_ordercol.php Example Example script
  Accessible without login Plain text file store_page.php Example Example script
  Accessible without login Plain text file store_renamecol.php Example Example script
  Accessible without login Plain text file store_settypefields.php Example Example script
  Accessible without login Plain text file store_sort.php Example Example script
  Accessible without login Plain text file store_tocsv.php Example Example script
  Accessible without login Plain text file store_tohtml.php Example Example script
  Accessible without login Plain text file store_tosql.php Example Example script
  Accessible without login Plain text file store_toxml.php Example Example script
  Accessible without login Plain text file template.php Example Example script
  Accessible without login Plain text file utils_clearnumber.php Example Example script
  Accessible without login Plain text file utils_cpfcnpj.php Example Example script
  Accessible without login Plain text file utils_inputmask.php Example Example script
  Accessible without login Plain text file utils_number.php Example Example script
  Accessible without login Plain text file utils_parsemask.php Example Example script
  Accessible without login Plain text file utils_printr.php Example Example script
  Accessible without login Plain text file utils_sqlprotect.php Example Example script

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,424
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:3764
 
Great work! Usefull script.
9 years ago (richard)
70%StarStarStarStar