GithubHelp home page GithubHelp logo

folded-php / file Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 39 KB

Manipulate files with functions for your web app.

Home Page: https://packagist.org/packages/folded/file

License: MIT License

PHP 97.40% Dockerfile 2.60%
csv file php

file's People

Contributors

khalyomede avatar

Watchers

 avatar  avatar  avatar

file's Issues

Add rename function

Description

Add a function that does renaming file, while throwing exception if an error occurs.

Proposal

A new function to rename a file:

use function Folded\rename;

rename("path/to/old.txt", "path/to/new.txt");

Worarkound solutions

To use the plain rename function, and throw an exception by hand if renaming fails.

Notes

None.

Add a function to write on file

Description

We should have a function to write on file, while error are automatically thrown.

Proposal

A new function to write on file:

use function Folded\writeOnFile;

writeOnFile("path/to/file.txt", "foo");

Worarkound solutions

To use the plain write function and throw exceptions by hand.

Notes

None.

Add an issue template

Description

To facilitate the writting of issues, templates are made for that.

Proposal

To have 2 news issues templates for both bugs and enhancements.

Alternatives solutions

To write the structure by hand.

Notes

None.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.