2017 © Pedro Peláez
 

package filewriter

Quick and simple writing of text to files

image

ionware/filewriter

Quick and simple writing of text to files

  • Wednesday, May 24, 2017
  • by ionware
  • Repository
  • 0 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Simple Filewriter for PHP

Provides quick and easy approach to open and writes text to Files.

Installation

You will need to have PHP ~5.4 and composer installed., (*1)

Simply use composer in your Terminal, (*2)

composer require ionware/filewriter

Usage

Create an Instance of the fileWriter and start writing., (*3)

<?php

require "vendor/autoload.php";

use FileWriter\FileWriter;

//Get an Instance of the Filewriter
$fileWriter = FileWriter::open(__DIR__."/demofile");

$fileWriter->append("127.0.0.1\texchanger.ru")
    ->prepend("127.0.0.1\tapms.dev")
    ->save();


License

The MIT License (MIT). See License file for more information., (*4)

The Versions

24/05 2017

dev-master

9999999-dev https://github.com/ionware/filewriter

Quick and simple writing of text to files

  Sources   Download

MIT

The Requires

  • php >=5.3

 

file writing