Download the PHP package dev-jeetu/case-converter without Composer

On this page you can find all versions of the php package dev-jeetu/case-converter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package case-converter

DevJeetu/CaseConverter

Latest Stable Version Total Downloads License PHP Version Require Tests

A comprehensive PHP library for converting between different naming conventions. Supports snake_case, camelCase, PascalCase, kebab-case, and many more with proper acronym handling and full Unicode support.

โœจ Features

๐Ÿ“ฆ Installation

Install via Composer:

๐Ÿš€ Quick Start

๐Ÿ“š Supported Formats & Aliases

Format Example Method Enum Aliases
camelCase userName toCamel() CaseType::CAMEL camel, camelcase, camel_case, lower_camel, lowerCamel
PascalCase UserName toPascal() CaseType::PASCAL pascal, pascalcase, pascal_case, upper_camel, upperCamel, studly
snake_case user_name toSnake() CaseType::SNAKE snake, snake_case, underscore, lower_snake
kebab-case user-name toKebab() CaseType::KEBAB kebab, kebab_case, kebab-case, dash, hyphen, lisp
MACRO_CASE USER_NAME toMacro() CaseType::MACRO macro, macro_case, screamed_snake, screaming_snake, upper_snake, constant
Train-Case User-Name toTrain() CaseType::TRAIN train, train_case, train-case, pascal_kebab, pascal-kebab
dot.case user.name toDot() CaseType::DOT dot, dot_case, dot.case, period
lower case username toLower() CaseType::LOWER lower, lower_case, space, space_case, lower_space
UPPER CASE USERNAME toUpper() CaseType::UPPER upper, upper_case, upper_space
Title Case User Name toTitle() CaseType::TITLE title, title_case, start_case, header
path/case user/name toPath() CaseType::PATH path, path_case, path/case, slash, directory
Ada_Case User_Name toAda() CaseType::ADA ada, ada_case, pascal_snake, upper_snake_case
COBOL-CASE USER-NAME toCobol() CaseType::COBOL cobol, cobol_case, upper_kebab, screaming_kebab
Sentence case User name toSentence() CaseType::SENTENCE sentence, sentence_case, first_upper

๐Ÿ“ Real-world Examples

API Response Transformation

Database Column to PHP Property Mapping

Configuration Key Transformation

International Content Processing

Class Name Generation

URL Slug Generation

๐ŸŒ Unicode Support

The library provides full Unicode support for international characters:

๐Ÿง  Smart Acronym Handling

The library intelligently handles acronyms and preserves them in appropriate contexts:

๐ŸŽฏ Advanced Usage

Type-Safe Enum API

Generic Conversion with Aliases

Format Introspection

Fluent Interface

Individual Converters

๐Ÿ›ก๏ธ Error Handling

The library provides custom exceptions for better error handling:

๐Ÿ“ˆ Performance & Benchmarks

The library is optimized for high performance:

Performance Test Results

๐Ÿงช Testing

Run the comprehensive test suite:

๐Ÿ”ง Development

๐Ÿ“‹ Requirements

๐Ÿค Contributing

Contributions are welcome!

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Add tests for your changes
  5. Ensure all tests pass (composer quality)
  6. Commit your changes (git commit -am 'Add amazing feature')
  7. Push to the branch (git push origin feature/amazing-feature)
  8. Open a Pull Request

๐Ÿ› Issues & Support

If you discover any issues or have questions:

  1. Check existing issues
  2. Open a new issue with a detailed description
  3. For security issues, please email directly

๐Ÿ“„ License

This project is licensed under the MIT License. Please see LICENSE.md for details.

๐Ÿ™ Acknowledgments

๐Ÿ”„ Changelog

v0.0.1


**Made with โค๏ธ by [Jeetu](https://github.com/dev-jeetu)** [Report Bug](https://github.com/dev-jeetu/case-converter/issues) ยท [Request Feature](https://github.com/dev-jeetu/case-converter/issues) ยท [Documentation](https://github.com/dev-jeetu/case-converter/wiki)

All versions of case-converter with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dev-jeetu/case-converter contains the following files

Loading the files please wait ....