Csv.thephpleague.com is a subdomain of thephpleague.com, which was created on 2013-07-24,making it 11 years ago. It has several subdomains, such as tactician.thephpleague.com fractal.thephpleague.com , among others.
Description:Working with CSV can often be much more difficult than you expect, with different types of delimiters and complicated structures. This library makes it easy to read and write almost...
Discover csv.thephpleague.com website stats, rating, details and status online.Use our online tools to find owner and admin contact info. Find out where is server located.Read and write reviews or vote to improve it ranking. Check alliedvsaxis duplicates with related css, domain relations, most used words, social networks references. Go to regular site
HomePage size: 16.994 KB |
Page Load Time: 0.793777 Seconds |
Website IP Address: 104.21.25.91 |
FreshSpectrum – Data Visualization Made Easy — Learn how you can use simple methods and tools, like diydatadesign.freshspectrum.com |
TagniFi – Public company data, private company data, M&A transaction data, private equity data.. about.tagnifi.com |
Open CSV File! csv.extensionfile.net |
PHP QR Code - QR code generator, an LGPL PHP library phpqrcode.sourceforge.net |
Made In Korea Shop - Made In Korea - Made In Korea Shop shop.bestmadeinkorea.com |
PHP Sandbox test PHP online PHP tester json.decode.onlinephpfunctions.com |
LOVELAND - National parcel data, property ownership search and GIS made easy cleveland.makeloveland.com |
Mockaroo - Random Data Generator and API Mocking Tool | JSON / CSV / SQL / Excel api.mockaroo.com |
KoolPHPSuite - Excellent PHP UI Controls For Web 2.0 Application: PHP Ajax Framework, PHP TreeView, demo.koolphp.net |
The Data Blog | A blog about data mining, data science, machine learning and big data, by Philippe F data-mining.philippe-fournier-viger.com |
Jqmagick : ImageMagick & Jquery Image manipulation jqmagick.imagemagick.org |
Convert CSV to JPG online without installation - file converter online csv-to-jpg.file-converter-online.com |
CSV data manipulation made easy in PHP. - CSV https://csv.thephpleague.com/ |
Release Notes https://csv.thephpleague.com/releases/ |
Examples - CSV https://csv.thephpleague.com/examples/ |
Overview - CSV https://csv.thephpleague.com/9.0/ |
Overview - CSV https://csv.thephpleague.com/8.0/ |
Overview - CSV https://csv.thephpleague.com/7.0/ |
Accessing and Setting CSV properties https://csv.thephpleague.com/8.0/properties/ |
CSV and BOM character https://csv.thephpleague.com/8.0/bom/ |
Stream Filtering https://csv.thephpleague.com/8.0/filtering/ |
Upgrading from 8.x to 9.x https://csv.thephpleague.com/9.0/upgrading/ |
Date: Tue, 14 May 2024 20:30:11 GMT |
Content-Type: text/html; charset=utf-8 |
Transfer-Encoding: chunked |
Connection: keep-alive |
last-modified: Tue, 14 May 2024 04:28:04 GMT |
access-control-allow-origin: * |
expires: Tue, 14 May 2024 20:40:11 GMT |
Cache-Control: max-age=600 |
x-proxy-cache: MISS |
x-github-request-id: DCBC:2AC065:CA96AC:D8BAE7:6643C9D3 |
Age: 0 |
via: 1.1 varnish |
x-served-by: cache-lcy-eglc8600030-LCY |
x-cache: MISS |
x-cache-hits: 0 |
x-timer: S1715718611.222364,VS0,VE122 |
vary: Accept-Encoding |
x-fastly-request-id: 54f3014780c9dba0cd9bb5fe8fca47053c5dfb93 |
CF-Cache-Status: DYNAMIC |
Report-To: "endpoints":["url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=fCo53rCjlTkJ%2FQsnS5kXC081zW%2Ft3oHvncvh1fbnMiJu6WdmBEw3sMdmGFFegNTggTyjd2Vlf3GkA7KcgzO94U%2B2%2BRpTaArC59na8bYma3GTB%2FYRx9G5jXy1yu9pOkDZuhx%2BTFQBvGQgko%2BHb6ANAye0Tg%3D%3D"],"group":"cf-nel","max_age":604800 |
NEL: "success_fraction":0,"report_to":"cf-nel","max_age":604800 |
Server: cloudflare |
CF-RAY: 883da507fb08417d-LHR |
alt-svc: h3=":443"; ma=86400 |
charset="utf-8"/ |
content="IE=edge" http-equiv="X-UA-Compatible"/ |
content="width=device-width, initial-scale=1" name="viewport"/ |
content="Working with CSV can often be much more difficult than you expect, with different types of delimiters and complicated structures. This library makes it easy to read and write almost anything." name="description"/ |
content="4.0" name="docsearch:version"/ |
content="#19232D" name="theme-color"/ |
CSV CSV data manipulation made easy in PHP. composer require league/csv:^9.0 source code documentation Once a new major version is released, the previous stable release remains supported for six more months with patches and security fixes. Love this package ? Support its development! Highlights The library was designed for developers who want to deal with CSV data using modern code and without the high levels of bootstrap and low-levels of usefulness provided by existing core functions or third-party code. Simple API Read and Write to CSV documents in a memory efficient and scalable way Support PHP Stream filtering capabilities Transform CSV documents into popular formats (JSON, XML or HTML) Framework-agnostic Features Accessing CSV documents records Reader , the read only connection object enables accessing CSV records easily use League\Csv\Reader ; //load the CSV document from a file path $csv = Reader :: createFromPath ( ’/path/to/your/csv/file.csv’ , ’r’ ); $csv - setHeaderOffset ( 0 ); $header = $csv - getHeader (); //returns the CSV header record //returns all the records as $records = $csv - getRecords (); // an Iterator object containing arrays $records = $csv - getRecordsAsObject ( MyDTO :: class ); //an Iterator object containing MyDTO objects echo $csv - toString (); //returns the CSV document as a string Adding new CSV records is made simple Writer , the write only connection object enables adding one or more records in one call. use League\Csv\Writer ; $header = [ ’first name’ , ’last name’ , ’email’ ]; $records = [ [ 1 , 2 , 3 ], [ ’foo’ , ’bar’ , ’baz’ ], [ ’john’ , ’doe’ , ’john.doe@example.com’ ], ]; //load the CSV document from a string $csv = Writer :: createFromString (); //insert the header $csv - insertOne ( $header ); //insert all the records $csv - insertAll ( $records ); echo $csv - toString (); //returns the CSV document as a string Advanced CSV records selection Statement , the constraint builder object ease CSV records selection use League\Csv\Reader ; use League\Csv\Statement ; //load the CSV document from a stream $stream = fopen ( ’/path/to/your/csv/file.csv’ , ’r’ ); $csv = Reader :: createFromStream ( $stream ); $csv - setDelimiter ( ’;’ ); $csv - setHeaderOffset ( 0 ); //build a statement $stmt = Statement :: create () - offset ( 10 ) - limit ( 25 ); //query your records from the document $records = $stmt - process ( $csv ); foreach ( $records as $record ) { //do something here } CSV documents converters Different converters objects ease transforming your CSV documents into other popular formats use League\Csv\Reader ; use League\Csv\XMLConverter ; //load the CSV document from a SplFileObject $file = new SplFileObject ( ’/path/to/your/csv/file.csv’ , ’r’ ); $csv = Reader :: createFromFileObject ( $file ); $converter = XMLConverter :: create () - rootElement ( ’csv’ ) - recordElement ( ’record’ , ’offset’ ) - fieldElement ( ’field’ , ’name’ ); $dom = $converter - convert ( $csv ); $dom - formatOutput = true ; $dom - encoding = ’iso-8859-15’ ; echo ’pre’ , PHP_EOL ; echo htmlentities ( $dom - saveXML ()); // ?xml version="1.0" encoding="iso-8859-15"? // csv // ... // record offset="71" // field name="prenoms"Anaïs/field // field name="nombre"137/field // field name="sexe"F/field // field name="annee"2004/field // /record // ... // record offset="1099" // field name="prenoms"Anaïs/field // field name="nombre"124/field // field name="sexe"F/field // field name="annee"2005/field // /record // /csv Supports PHP Stream filter API PHP stream filters can directly be used to ease manipulating CSV document use League\Csv\Reader ; $csv = Reader :: createFromPath ( ’/path/to/your/csv/file.csv’ , ’r’ ); $csv - setHeaderOffset ( 0 ); $input_bom = $csv - getInputBOM (); if ( $input_bom === Reader :: BOM_UTF16_LE || $input_bom === Reader :: BOM_UTF16_BE ) { $csv - addStreamFilter ( ’convert.iconv.UTF-16/UTF-8’ ); } foreach ( $csv as $record ) { //all fields from the record are converted from UTF-16 into UTF-8 charset //and the BOM sequence is removed } Questions? CSV was created by Ignace Nyamagana Butera. Find him on Twitter at @nyamsprod . © Copyright The League of Extraordinary Packages . Site design by Jonathan Reinink and Ignace Nyamagana Butera...
Domain Name: THEPHPLEAGUE.COM Registry Domain ID: 1817276373_DOMAIN_COM-VRSN Registrar WHOIS Server: whois.rrpproxy.net Registrar URL: http://www.key-systems.net Updated Date: 2023-07-25T07:15:10Z Creation Date: 2013-07-24T13:52:20Z Registry Expiry Date: 2024-07-24T13:52:20Z Registrar: Key-Systems GmbH Registrar IANA ID: 269 Registrar Abuse Contact Email: abuse@key-systems.net Registrar Abuse Contact Phone: +49.68949396850 Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited Name Server: DIVA.NS.CLOUDFLARE.COM Name Server: HUGH.NS.CLOUDFLARE.COM DNSSEC: unsigned >>> Last update of whois database: 2024-05-17T19:24:58Z <<<