{"repo":"Blaspsoft/onym","free":true,"listed":false,"github":"https://github.com/Blaspsoft/onym","clone":"git clone https://github.com/Blaspsoft/onym.git","description":"📂 🎨 A flexible Laravel package for generating structured, unique, and customizable filenames using various strategies.","language":"PHP","stars":123,"topics":["file-management","filename-conversion","filenames","generator","hash","laravel","laravel-framework","laravel-package","php","random"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Onym - Flexible Filename Generator A flexible Laravel package for generating filenames using various strategies and options. 🚀 Features - ✅ Flexible Filename Generation – Generate filenames dynamically using various strategies. - 🎲 Multiple Strategies – Supports random , uuid , timestamp , date , numbered , slug , and hash . - 🔧 Customizable Output – Specify filename, extension, and additional formatting options. - 🎯 Laravel-Friendly – Designed to work seamlessly with Laravel's filesystem and configuration. - 📂 Human-Readable & Unique Names – Ensures filenames are structured, collision-free, and easy to understand. - ⚙️ Configurable Defaults – Define global settings in config/onym.php for consistency across your application. - 🔌 Extensible & Developer-Friendly – Easily add custom filename strategies or modify existing ones. Installation You can install the package via composer: You can publish the config file with: Usage Available Strategies Random Strategy Generates a random string of characters for the filename. Options: - length (int): The length of the random string - Default: 16 - Example: ['length' = 8] generates \"a1b2c3d4.txt\" - prefix (string): String to prepend to the filename - Default: '' - Example: ['prefix' = 'temp '] generates \"temp a1b2c3d4.txt\" - suffix (string): String to append before the extension - Default: '' - Example: ['suffix' = ' draft'] generates \"a1b2c3d4 draft.txt\" UUID Strategy Generates a UUID v4 (universally unique identifier) for the file","default_branch":null,"files":null,"tree":[],"storefront":"/r/Blaspsoft","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Blaspsoft/onym/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}