New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

cosninix/cos

Very legacy collection of various utility functions
2,860
Install
composer require cosninix/cos
Latest Version:v0.0.07
PHP:^7|^8
Laravel:5 – 10
License:MIT
Last Updated:May 31, 2023
Links: GitHub  ·  Packagist
Maintainer: rvwoens

Cos - Very legacy collection of various utility functions

GitHub Release GitHub Release Total Downloads Last commit Status License Actions Status

Why? start with why

Cos goes way back to the 80's when it was called coslib and written in C. It was converted into PHP 3 somewhere in the 90's, then it turned into a class with static methods in the 2000's (PHP 4), and survives now on PHP 7 just because so much (legacy) code still depends on it. It contains various obsolete functions that are now replaced by language constructs, like Cos::ifset() that is now replaced bij the ?? operator in PHP 7.

Don't use it in new projects but still fun to use as a time machine into the 80's

Installation
    composer install cosninix/cos
Docs

As Boele used to say: No need for documentation because a good developer should be able to read code.

Related Packages

carsdotcom/laravel-json-model

Laravel models backed by JSON data

34,007 1
leochien/laravel-spgateway

spgateway library for laravel

11,967 34
simon80119/laravel-spgateway

spgateway library for laravel

6,296 0
brandon14/fossabot-commander

Library to easily create Fossabot commands invokable via the Fossabot customapi...

4,863 2
drh/mpesa

Mpesa Payments Library

3,638 3

Version History

Version Released PHP Laravel License
v0.0.07 ^7|^8 ^5.0|^6.0|^7.0|^8.0|^9.0|^10.0 MIT
v0.0.06 ^7.0.0 ^5.0|^6.0|^7.0|^8.0 MIT
v0.0.05 ^7.0.0 ^5.0|^6.0|^7.0|^8.0 MIT
v0.0.04 ^7.0.0 ^5.0|^6.0|^7.0|^8.0 MIT
v0.0.03 ^7.0.0 ^5.0|^6.0|^7.0|^8.0 MIT