Giter Site home page Giter Site logo

colors.php's People

Contributors

kevinlebrun avatar nategood avatar peter279k avatar staabm avatar tvandame avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

colors.php's Issues

Function 'setTheme' has been deprecated

Deprecated error in PHP 8 - Function 'setTheme' has been deprecated

			$c=new Colour();
			$c->setTheme(
				array(
					'header' => array('white', 'bg_blue'),
					'info' => array('black', 'bg_light_gray'),
					'success' => array('white', 'bg_green'),
					'error' => array('white', 'bg_red'),
				)
			);

Drop php-5.x supports

As title, I think it's time to drop the php-5.x version supports.

The php-5.x versions are too old to maintain and they're not maintained by official team anymore.

Call to undefined method

echo $c('Hello World!')->white()->bold()->highlight('green') . PHP_EOL;

if I use this in object and it will be like this: public $c = new \Colors\Color(); $this->c('Hello,World!); And this will give a message : Call to undefind method xxx\xxx::c();

isSupported() returns false even if coloring actually works

I tried to use this module on windows and found that if I override the isSupported() method to return true, the coloring works just fine, but otherwise the library thinks that coloring is not supported and so does not color the output.

Version 0.4

Can you please release version 0.4 so we can use the new colors. I'm more comfortable with using a stable version instead of an unstable dev-master in Composer.

Thanks!

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.