{"id":15637530,"url":"https://github.com/dmitry-ivanov/laravel-helper-functions","last_synced_at":"2025-05-16T04:04:24.020Z","repository":{"id":55113937,"uuid":"61384075","full_name":"dmitry-ivanov/laravel-helper-functions","owner":"dmitry-ivanov","description":"Laravel-specific and pure PHP Helper Functions.","archived":false,"fork":false,"pushed_at":"2025-03-06T14:49:39.000Z","size":757,"stargazers_count":107,"open_issues_count":0,"forks_count":17,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-13T21:12:06.347Z","etag":null,"topics":["array-to-xml","background-command","backtrace","functions","helpers","laravel","laravel-package","multiarray","xml-parser","xml-to-array"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmitry-ivanov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-06-17T15:34:24.000Z","updated_at":"2025-03-06T14:42:36.000Z","dependencies_parsed_at":"2025-04-12T16:48:23.120Z","dependency_job_id":null,"html_url":"https://github.com/dmitry-ivanov/laravel-helper-functions","commit_stats":{"total_commits":512,"total_committers":2,"mean_commits":256.0,"dds":0.001953125,"last_synced_commit":"270e8ba372ea3f8c163db56018ce806510abc690"},"previous_names":[],"tags_count":108,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitry-ivanov%2Flaravel-helper-functions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitry-ivanov%2Flaravel-helper-functions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitry-ivanov%2Flaravel-helper-functions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitry-ivanov%2Flaravel-helper-functions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmitry-ivanov","download_url":"https://codeload.github.com/dmitry-ivanov/laravel-helper-functions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254464891,"owners_count":22075570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["array-to-xml","background-command","backtrace","functions","helpers","laravel","laravel-package","multiarray","xml-parser","xml-to-array"],"created_at":"2024-10-03T11:12:01.096Z","updated_at":"2025-05-16T04:04:24.002Z","avatar_url":"https://github.com/dmitry-ivanov.png","language":"PHP","funding_links":["https://buymeacoffee.com/dmitry.ivanov","https://buymeacoffee.com/dmitry.ivanov)"],"categories":[],"sub_categories":[],"readme":"![Laravel-specific and pure PHP Helper Functions](art/1380x575-optimized.jpg)\n\n# Laravel Helper Functions\n\n[\u003cimg src=\"https://user-images.githubusercontent.com/1286821/181085373-12eee197-187a-4438-90fe-571ac6d68900.png\" alt=\"Buy me a coffee\" width=\"200\" /\u003e](https://buymeacoffee.com/dmitry.ivanov)\n\n[![StyleCI](https://github.styleci.io/repos/61384075/shield?branch=master\u0026style=flat)](https://github.styleci.io/repos/61384075?branch=master)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/dmitry-ivanov/laravel-helper-functions/tests.yml?branch=master)](https://github.com/dmitry-ivanov/laravel-helper-functions/actions?query=workflow%3Atests+branch%3Amaster)\n[![Coverage Status](https://img.shields.io/codecov/c/github/dmitry-ivanov/laravel-helper-functions/master)](https://app.codecov.io/gh/dmitry-ivanov/laravel-helper-functions/tree/master)\n\n![Packagist Version](https://img.shields.io/packagist/v/illuminated/helper-functions)\n![Packagist Stars](https://img.shields.io/packagist/stars/illuminated/helper-functions)\n![Packagist Downloads](https://img.shields.io/packagist/dt/illuminated/helper-functions)\n![Packagist License](https://img.shields.io/packagist/l/illuminated/helper-functions)\n\nLaravel-specific and pure PHP Helper Functions.\n\n| Laravel | Helper Functions                                                            |\n|---------|-----------------------------------------------------------------------------|\n| 12.x    | [12.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/12.x) |\n| 11.x    | [11.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/11.x) |\n| 10.x    | [10.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/10.x) |\n| 9.x     | [9.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/9.x)   |\n| 8.x     | [8.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/8.x)   |\n| 7.x     | [7.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/7.x)   |\n| 6.x     | [6.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/6.x)   |\n| 5.8.*   | [5.8.*](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/5.8) |\n| 5.7.*   | [5.7.*](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/5.7) |\n| 5.6.*   | [5.6.*](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/5.6) |\n| 5.5.*   | [5.5.*](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/5.5) |\n| 5.4.*   | [5.4.*](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/5.4) |\n| 5.3.*   | [5.3.*](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/5.3) |\n| 5.2.*   | [5.2.*](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/5.2) |\n| 5.1.*   | [5.1.*](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/5.1) |\n\n## Usage\n\n1. Install the package via Composer:\n\n    ```shell script\n    composer require illuminated/helper-functions\n    ```\n\n2. Use any of the provided helper functions:\n\n    ```php\n    if (is_windows_os()) {\n        call_in_background('switch-to-mac');\n    }\n    ```\n\n## Available functions\n\n\u003e Feel free to contribute.\n\n- [Array](#array)\n    - [array_except_value](#array_except_value)\n    - [multiarray_set](#multiarray_set)\n    - [multiarray_sort_by](#multiarray_sort_by)\n\n- [Artisan](#artisan)\n    - [call_in_background](#call_in_background)\n\n- [Database](#database)\n    - [db_is_sqlite](#db_is_sqlite)\n    - [db_is_mysql](#db_is_mysql)\n    - [db_mysql_now](#db_mysql_now)\n    - [db_mysql_variable](#db_mysql_variable)\n\n- [Date](#date)\n    - [to_default_timezone](#to_default_timezone)\n\n- [Debug](#debug)\n    - [backtrace_as_string](#backtrace_as_string)\n    - [minimized_backtrace_as_string](#minimized_backtrace_as_string)\n\n- [Email](#email)\n    - [is_email](#is_email)\n    - [to_rfc2822_email](#to_rfc2822_email)\n    - [to_swiftmailer_emails](#to_swiftmailer_emails)\n    - [to_symfony_emails](#to_symfony_emails)\n\n- [Filesystem](#filesystem)\n    - [relative_path](#relative_path)\n\n- [Format](#format)\n    - [get_dump](#get_dump)\n    - [format_bytes](#format_bytes)\n    - [format_xml](#format_xml)\n\n- [Json](#json)\n    - [is_json](#is_json)\n\n- [System](#system)\n    - [is_windows_os](#is_windows_os)\n\n- [Xml](#xml)\n    - [xml_to_array](#xml_to_array)\n    - [array_to_xml](#array_to_xml)\n\n## Array\n\n#### `array_except_value()`\n\nRemove the given values from the array:\n\n```php\narray_except_value(['foo', 'bar', 'baz'], 'baz');\n\n// [\"foo\", \"bar\"]\n```\n\n```php\narray_except_value(['foo', 'bar', 'baz'], ['bar', 'baz']);\n\n// [\"foo\"]\n```\n\n#### `multiarray_set()`\n\nSet the value for each item of the multidimensional array using \"dot\" notation:\n\n```php\n$array = [\n    ['name' =\u003e 'Mercedes-Benz', 'details' =\u003e ['type' =\u003e 'SUV']],\n    ['name' =\u003e 'BMW', 'details' =\u003e ['type' =\u003e 'SUV']],\n    ['name' =\u003e 'Porsche', 'details' =\u003e ['type' =\u003e 'SUV']],\n];\n\nmultiarray_set($array, 'details.country', 'Germany');\n\n// [\n//     [\"name\" =\u003e \"Mercedes-Benz\", \"details\" =\u003e [\"type\" =\u003e \"SUV\", \"country\" =\u003e \"Germany\"]],\n//     [\"name\" =\u003e \"BMW\", \"details\" =\u003e [\"type\" =\u003e \"SUV\", \"country\" =\u003e \"Germany\"]],\n//     [\"name\" =\u003e \"Porsche\", \"details\" =\u003e [\"type\" =\u003e \"SUV\", \"country\" =\u003e \"Germany\"]],\n// ]\n```\n\n#### `multiarray_sort_by()`\n\nSort the multidimensional array by several fields:\n\n```php\n$array = [\n    ['name' =\u003e 'Mercedes-Benz', 'model' =\u003e 'GLS', 'price' =\u003e 120000],\n    ['name' =\u003e 'Mercedes-Benz', 'model' =\u003e 'GLE Coupe', 'price' =\u003e 110000],\n    ['name' =\u003e 'BMW', 'model' =\u003e 'X6', 'price' =\u003e 77000],\n    ['name' =\u003e 'Porsche', 'model' =\u003e 'Cayenne', 'price' =\u003e 117000],\n];\n\n$sorted = multiarray_sort_by($array, 'name', 'model');\n\n// [\n//     [\"name\" =\u003e \"BMW\", \"model\" =\u003e \"X6\", \"price\" =\u003e 77000],\n//     [\"name\" =\u003e \"Mercedes-Benz\", \"model\" =\u003e \"GLE Coupe\", \"price\" =\u003e 110000],\n//     [\"name\" =\u003e \"Mercedes-Benz\", \"model\" =\u003e \"GLS\", \"price\" =\u003e 120000],\n//     [\"name\" =\u003e \"Porsche\", \"model\" =\u003e \"Cayenne\", \"price\" =\u003e 117000],\n// ]\n```\n\nAlso, you can change the sort order:\n\n```php\n$array = [\n    ['name' =\u003e 'Mercedes-Benz', 'model' =\u003e 'GLS', 'price' =\u003e 120000],\n    ['name' =\u003e 'Mercedes-Benz', 'model' =\u003e 'GLE Coupe', 'price' =\u003e 110000],\n    ['name' =\u003e 'BMW', 'model' =\u003e 'X6', 'price' =\u003e 77000],\n    ['name' =\u003e 'Porsche', 'model' =\u003e 'Cayenne', 'price' =\u003e 117000],\n];\n\n$sorted = multiarray_sort_by($array, 'name', SORT_ASC, 'model', SORT_DESC);\n\n// [\n//     [\"name\" =\u003e \"BMW\", \"model\" =\u003e \"X6\", \"price\" =\u003e 77000],\n//     [\"name\" =\u003e \"Mercedes-Benz\", \"model\" =\u003e \"GLS\", \"price\" =\u003e 120000],\n//     [\"name\" =\u003e \"Mercedes-Benz\", \"model\" =\u003e \"GLE Coupe\", \"price\" =\u003e 110000],\n//     [\"name\" =\u003e \"Porsche\", \"model\" =\u003e \"Cayenne\", \"price\" =\u003e 117000],\n// ]\n```\n\n## Artisan\n\n#### `call_in_background()`\n\nCall the given artisan console command in background.\n\nCode execution continues immediately, without waiting for results.\n\n```php\ncall_in_background('report');\n\n// \"php artisan report\" would be called in background\n```\n\nOptional `before` and `after` sub-commands could be used:\n\n```php\ncall_in_background('report:monthly subscriptions', 'sleep 0.3');\n\n// \"sleep 0.3 \u0026\u0026 php artisan report:monthly subscriptions\" would be called in background\n```\n\n## Database\n\n#### `db_is_sqlite()`\n\nCheck whether the default database connection driver is `sqlite` or not:\n\n```php\ndb_is_sqlite();\n\n// false\n```\n\n#### `db_is_mysql()`\n\nCheck whether the default database connection driver is `mysql` or not:\n\n```php\ndb_is_mysql();\n\n// true\n```\n\n#### `db_mysql_now()`\n\nGet the current MySQL datetime:\n\n```php\ndb_mysql_now();\n\n// \"2020-05-25 20:09:33\"\n```\n\n#### `db_mysql_variable()`\n\nGet value of the specified MySQL variable:\n\n```php\ndb_mysql_variable('hostname');\n\n// \"localhost\"\n```\n\n## Date\n\n#### `to_default_timezone()`\n\nConvert the given datetime to the default timezone (see `app.timezone` config):\n\n```php\nto_default_timezone('2017-02-28T14:05:01Z');\n\n// \"2017-02-28 16:05:01\", assuming that `app.timezone` is \"Europe/Kiev\"\n```\n\n## Debug\n\n#### `backtrace_as_string()`\n\nGet backtrace without arguments, as a string:\n\n```php\n$backtrace = backtrace_as_string();\n\n#0  backtrace_as_string() called at [/htdocs/example/routes/web.php:15]\n#1  Illuminate\\Routing\\Router-\u003e{closure}() called at [/htdocs/example/vendor/laravel/framework/src/Illuminate/Routing/Route.php:189]\n#2  Illuminate\\Foundation\\Http\\Kernel-\u003ehandle() called at [/htdocs/example/public/index.php:53]\n```\n\n#### `minimized_backtrace_as_string()`\n\nGet minimized backtrace, as a string:\n\n```php\n$backtrace = minimized_backtrace_as_string();\n\n#0 /htdocs/example/routes/web.php:15\n#1 /htdocs/example/vendor/laravel/framework/src/Illuminate/Routing/Route.php:189\n#2 /htdocs/example/public/index.php:53\n```\n\n## Email\n\n#### `is_email()`\n\nCheck whether the given string is an email address or not:\n\n```php\nis_email('john.doe@example.com');\n\n// true\n```\n\n#### `to_rfc2822_email()`\n\nConvert addresses data to [RFC 2822](http://faqs.org/rfcs/rfc2822.html) string, suitable for PHP [mail()](https://php.net/manual/en/function.mail.php) function:\n\n```php\nto_rfc2822_email([\n    ['address' =\u003e 'john.doe@example.com', 'name' =\u003e 'John Doe'],\n    ['address' =\u003e 'jane.smith@example.com'],\n]);\n\n// \"John Doe \u003cjohn.doe@example.com\u003e, jane.smith@example.com\"\n```\n\nAlso, it supports simplified syntax for a single address:\n\n```php\nto_rfc2822_email(['address' =\u003e 'john.doe@example.com', 'name' =\u003e 'John Doe']);\n\n// \"John Doe \u003cjohn.doe@example.com\u003e\"\n```\n\n#### `to_swiftmailer_emails()`\n\nConvert addresses data to [SwiftMailer-suitable format](https://swiftmailer.org/docs/messages.html):\n\n```php\nto_swiftmailer_emails([\n    ['address' =\u003e 'john.doe@example.com', 'name' =\u003e 'John Doe'],\n    ['address' =\u003e 'jane.smith@example.com'],\n]);\n\n// [\"john.doe@example.com\" =\u003e \"John Doe\", \"jane.smith@example.com\"]\n```\n\nAlso, it supports simplified syntax for a single address:\n\n```php\nto_swiftmailer_emails(['address' =\u003e 'john.doe@example.com', 'name' =\u003e 'John Doe']);\n\n// [\"john.doe@example.com\" =\u003e \"John Doe\"]\n```\n\n#### `to_symfony_emails()`\n\nConvert addresses data to [Symfony-suitable format](https://symfony.com/doc/current/mailer.html#email-addresses):\n\n```php\nto_symfony_emails([\n    ['address' =\u003e 'john.doe@example.com', 'name' =\u003e 'John Doe'],\n    ['address' =\u003e 'jane.smith@example.com'],\n]);\n\n// [\"John Doe \u003cjohn.doe@example.com\u003e\", \"jane.smith@example.com\"]\n```\n\nAlso, it supports simplified syntax for a single address:\n\n```php\nto_symfony_emails(['address' =\u003e 'john.doe@example.com', 'name' =\u003e 'John Doe']);\n\n// [\"John Doe \u003cjohn.doe@example.com\u003e\"]\n```\n\n## Filesystem\n\n#### `relative_path()`\n\nGet a relative path for the given folders:\n\n```php\nrelative_path('/var/www/htdocs', '/var/www/htdocs/example');\n\n// \"../\"\n```\n\nYou can pass the relative path as a parameter too:\n\n```php\nrelative_path('/var/www/htdocs/example/public/../../', '/var/');\n\n// \"www/htdocs/\"\n```\n\n## Format\n\n#### `get_dump()`\n\nGet a nicely formatted string representation of the variable, using the [Symfony VarDumper Component](https://symfony.com/doc/current/components/var_dumper/introduction.html):\n\n```php\n$array = [\n    'a simple string' =\u003e 'Hello!',\n    'a float' =\u003e 1.0,\n    'an integer' =\u003e 1,\n    'a boolean' =\u003e true,\n    'an empty array' =\u003e [],\n];\n\n$dump = get_dump($array);\n\n// array:5 [\n//     \"a simple string\" =\u003e \"Hello!\"\n//     \"a float\" =\u003e 1.0\n//     \"an integer\" =\u003e 1\n//     \"a boolean\" =\u003e true\n//     \"an empty array\" =\u003e []\n// ]\n```\n\n#### `format_bytes()`\n\nFormat bytes into kilobytes, megabytes, gigabytes or terabytes:\n\n```php\nformat_bytes(3333333);\n\n// \"3.18 MB\"\n```\n\n#### `format_xml()`\n\nFormat the given XML string using new lines and indents:\n\n```php\nformat_xml('\u003c?xml version=\"1.0\"?\u003e\u003croot\u003e\u003ctask priority=\"low\"\u003e\u003cto\u003eJohn\u003c/to\u003e\u003cfrom\u003eJane\u003c/from\u003e\u003ctitle\u003eGo to the shop\u003c/title\u003e\u003c/task\u003e\u003ctask priority=\"medium\"\u003e\u003cto\u003eJohn\u003c/to\u003e\u003cfrom\u003ePaul\u003c/from\u003e\u003ctitle\u003eFinish the report\u003c/title\u003e\u003c/task\u003e\u003ctask priority=\"high\"\u003e\u003cto\u003eJane\u003c/to\u003e\u003cfrom\u003eJeff\u003c/from\u003e\u003ctitle\u003eClean the house\u003c/title\u003e\u003c/task\u003e\u003c/root\u003e');\n\n// \u003c?xml version=\"1.0\"?\u003e\n// \u003croot\u003e\n//   \u003ctask priority=\"low\"\u003e\n//     \u003cto\u003eJohn\u003c/to\u003e\n//     \u003cfrom\u003eJane\u003c/from\u003e\n//     \u003ctitle\u003eGo to the shop\u003c/title\u003e\n//   \u003c/task\u003e\n//   \u003ctask priority=\"medium\"\u003e\n//     \u003cto\u003eJohn\u003c/to\u003e\n//     \u003cfrom\u003ePaul\u003c/from\u003e\n//     \u003ctitle\u003eFinish the report\u003c/title\u003e\n//   \u003c/task\u003e\n//   \u003ctask priority=\"high\"\u003e\n//     \u003cto\u003eJane\u003c/to\u003e\n//     \u003cfrom\u003eJeff\u003c/from\u003e\n//     \u003ctitle\u003eClean the house\u003c/title\u003e\n//   \u003c/task\u003e\n// \u003c/root\u003e\n```\n\n## Json\n\n#### `is_json()`\n\nCheck whether the given value is a valid JSON-encoded string or not:\n\n```php\nis_json('{\"foo\":1,\"bar\":2,\"baz\":3}');\n\n// true\n```\n\nIt returns decoded JSON if you pass `true` as a second argument:\n\n```php\nis_json('{\"foo\":1,\"bar\":2,\"baz\":3}', true);\n\n// [\"foo\" =\u003e 1, \"bar\" =\u003e 2, \"baz\" =\u003e 3]\n```\n\n## System\n\n#### `is_windows_os()`\n\nCheck whether the operating system is Windows or not:\n\n```php\nis_windows_os();\n\n// false\n```\n\n## Xml\n\n#### `xml_to_array()`\n\nConvert the given XML to array:\n\n```php\nxml_to_array('\u003c?xml version=\"1.0\"?\u003e\n\u003cGuys\u003e\n    \u003cGood_guy Rating=\"100\"\u003e\n        \u003cname\u003eLuke Skywalker\u003c/name\u003e\n        \u003cweapon\u003eLightsaber\u003c/weapon\u003e\n    \u003c/Good_guy\u003e\n    \u003cBad_guy Rating=\"90\"\u003e\n        \u003cname\u003eSauron\u003c/name\u003e\n        \u003cweapon\u003eEvil Eye\u003c/weapon\u003e\n    \u003c/Bad_guy\u003e\n\u003c/Guys\u003e\n');\n\n// [\n//     \"Good_guy\" =\u003e [\n//         \"name\" =\u003e \"Luke Skywalker\",\n//         \"weapon\" =\u003e \"Lightsaber\",\n//         \"@attributes\" =\u003e [\n//             \"Rating\" =\u003e \"100\",\n//         ],\n//     ],\n//     \"Bad_guy\" =\u003e [\n//         \"name\" =\u003e \"Sauron\",\n//         \"weapon\" =\u003e \"Evil Eye\",\n//         \"@attributes\" =\u003e [\n//             \"Rating\" =\u003e \"90\",\n//         ],\n//     ],\n// ]\n```\n\nAlternatively, you can pass an instance of the `SimpleXMLElement` class instead of a string.\n\n#### `array_to_xml()`\n\nConvert the given array to XML string:\n\n```php\n$array = [\n    'Good guy' =\u003e [\n        'name' =\u003e 'Luke Skywalker',\n        'weapon' =\u003e 'Lightsaber',\n        '@attributes' =\u003e [\n            'Rating' =\u003e '100',\n        ],\n    ],\n    'Bad guy' =\u003e [\n        'name' =\u003e 'Sauron',\n        'weapon' =\u003e 'Evil Eye',\n        '@attributes' =\u003e [\n            'Rating' =\u003e '90',\n        ],\n    ]\n];\n\n$xml = array_to_xml($array, 'Guys');\n\n// \u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n// \u003cGuys\u003e\n//    \u003cGood_guy Rating=\"100\"\u003e\n//        \u003cname\u003eLuke Skywalker\u003c/name\u003e\n//        \u003cweapon\u003eLightsaber\u003c/weapon\u003e\n//    \u003c/Good_guy\u003e\n//    \u003cBad_guy Rating=\"90\"\u003e\n//        \u003cname\u003eSauron\u003c/name\u003e\n//        \u003cweapon\u003eEvil Eye\u003c/weapon\u003e\n//    \u003c/Bad_guy\u003e\n// \u003c/Guys\u003e\n```\n\n## Sponsors\n\n[![Laravel Idea](art/sponsor-laravel-idea.png)](https://laravel-idea.com)\u003cbr\u003e\n[![Material Theme UI Plugin](art/sponsor-material-theme.png)](https://material-theme.com)\u003cbr\u003e\n\n## License\n\nLaravel Helper Functions is open-sourced software licensed under the [MIT license](LICENSE.md).\n\n[\u003cimg src=\"https://user-images.githubusercontent.com/1286821/181085373-12eee197-187a-4438-90fe-571ac6d68900.png\" alt=\"Buy me a coffee\" width=\"200\" /\u003e](https://buymeacoffee.com/dmitry.ivanov)\u0026nbsp;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmitry-ivanov%2Flaravel-helper-functions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmitry-ivanov%2Flaravel-helper-functions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmitry-ivanov%2Flaravel-helper-functions/lists"}