Download the PHP package patrikjak/utils without Composer

On this page you can find all versions of the php package patrikjak/utils. 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 utils

Utils Package

codecov

The Utils package is a versatile utility toolkit designed to enhance Laravel applications. It provides a variety of reusable classes and functions to streamline development, including CSS and JavaScript assets to support frontend components like buttons, modals, and tables. Easily integrate the package into your project, publish assets, and selectively include only the styles and functions you need for a highly customizable setup. Perfect for Laravel developers seeking to simplify their workflow with ready-to-use utilities.

Table of Contents

What's included:

You can find the full documentation here.

Installation

Install the package via Composer:

Setup

After installing the package, add the package provider to the providers array in bootstrap/providers.php.

Next, publish the package assets:

Usage

The Utils package offers a variety of useful classes and functions.

CSS

To include all component styles, add the main.css file:

You need to set border-box box-sizing for all elements in your CSS file to prevent layout issues:

JavaScript

This package does not include a compiled JavaScript file. Instead, import and call functions directly within your main JavaScript file.

Refer to the documentation for a list of available functions and usage examples.

Dependencies

Utils requires the following dependencies to function properly:

To load correct language for JS you need to set lang attribute to html tag

Currently supported languages are:

You will need to set up Vite build target to esnext in your vite.config.js file:


export default defineConfig({
    ...
    build: {
        target: 'esnext',
    },
});

All versions of utils with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
laravel/framework Version ^11.31.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 patrikjak/utils contains the following files

Loading the files please wait ....