Download the PHP package justintime50/styles without Composer

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

Styles

A collection of style guides and best practices used for my projects and teams.

Build

This document is fluid and many changes will be coming over the next few months as I collect more information to include here. By the time I'm finished, I'd love the final product to look something like: https://codeguide.co/

Tooling Configuration

You can find various configuration files for styling/formatting tools across various langauges found in the styles directory.

NPM Install

Composer Install

General

Architecture

Checklist

Classes

Comments

Concurrency

Databases

Error Handling

Functions

Proper Function Structure

Functions should follow the 1-2-3 principle:

  1. The first grouping of code (split by an empty newline) is usually boilerplate code or setup where we assign variables that we'll need later on
  2. The second grouping of code (split by an empty newline) is the logic where we actually do what the function is called
  3. The third grouping (split by an empty newline) should be the final return statement. Functions should also only return once at the end for easy maintenance and readability (TODO: provide research into this)

There are obviously larger and smaller functions than this, but don't be afraid of newlines in functions. I've seen countless 30 line functions that had no line breaks which can be very hard on the eyes when scanning or reasoning about code. Breaking up related blocks of code makes maintaining and reading that code much easier.

Meta

Naming

Open Source

Testing

Language Specific

CSharp

Tools

CSS

CSS Tools

CSS Styles

The following is a checklist of items that every website should have:

Docker

Docker Tools

Golang

Golang Tools

HTML

HTML Tools

HTML Styles

The following is a checklist of items that every website should have:

Java

Java Tools

Javascript

Javascript Tools

PHP

PHP Tools

Python

Python Tools

Python Styles

It's generally an anti-pattern to do something like the following. If a file got deleted between the check and it being removed, it will error:

Ensure that error assertions are unindented from a pytest context helper (bites me all the time):

Ruby

Ruby Tools

Shell (Bash)

Shell Tools

Shell Styles

Swift

Swift Tools

Websites & Infrastructure

Websites & Infrastructure Styles


All versions of styles with dependencies

PHP Build Version
Package Version
Requires php Version ^8.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 justintime50/styles contains the following files

Loading the files please wait ....