Download the PHP package axn/tool-kit-for-laravel without Composer

On this page you can find all versions of the php package axn/tool-kit-for-laravel. 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 tool-kit-for-laravel

Tool Kit for Laravel

Includes a set of useful tools for the Laravel framework.

Documentation

Installation

With Composer:

To use some of these tools you must have correctly installed the package forxer/generic-term-translations-for-laravel already prerequisite by this package (therefore present).

Use the locales publisher of Laravel Lang to add/update/reset or remove translations:

Quick Reference

Helpers

Helper Description
app_env_enum() Get standardized environment enum
app_env_name() Get standardized environment name
carbon() Create Carbon instance from various formats
collect_models() Create Eloquent collection
str_html() Create HtmlString instance
linebreaks() Normalize line endings to UNIX format
nl_to_br() Alias of nl2br()
nl_to_br_compact() Convert consecutive newlines to single <br>
nl_to_p() Convert newlines to paragraphs
nl_to_p_flat() Convert text to single paragraph with <br>
number_formatted() Format number with locale
compute_dec_to_time() Decimal to time array
convert_dec_to_time() Decimal to time string
human_readable_bytes_size() Format bytes to human readable (legacy default, accepts BytesConvention)
human_readable_bytes_size_si() Format bytes using SI convention (1000-based, kB/MB/GB/TB)
human_readable_bytes_size_iec() Format bytes using IEC convention (1024-based, KiB/MiB/GiB/TiB)
mime_type_to_fa5_class() MIME type to FontAwesome 5 icon
mime_type_to_fa6_class() MIME type to FontAwesome 6 icon
mime_type_to_fa7_class() MIME type to FontAwesome 7 icon
trans_lcfirst() Translate with first char lowercase
trans_ucfirst() Translate with first char uppercase
is_valid_model() Check if class is valid Eloquent model
semver_to_id() Convert semver to numeric ID

Blade Directives

Directive Description
@nltobr() Convert newlines to <br>
@nltobrcompact() Convert consecutive newlines to single <br>
@nltop() Convert newlines to paragraphs
@nltopflat() Convert to single paragraph with <br>

Components

Component Description
<x-required-field-marker /> Display required field indicator

Enums

Enum Description
AppEnv Standardized environment names
BytesConvention Byte size conventions (SI / IEC)
Civilities Form civilities (Mrs, Mr)

Requirements

License

MIT


All versions of tool-kit-for-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
composer/semver Version ^3.0.0
forxer/generic-term-translations-for-laravel Version ^1.12
laravel/framework Version ^12.0 || ^13.0
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 axn/tool-kit-for-laravel contains the following files

Loading the files please wait ...