Download the PHP package nodes/core without Composer

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

Core

The main package used by most Nodes packages.

Total downloads Monthly downloads Latest release Open issues License Star repository on GitHub Watch repository on GitHub Fork repository on GitHub StyleCI

📝 Introduction

This package is what we in Nodes call the "Core" package. It consists of a lot of helpful methods, which makes it easier to develop other packages and projects in general.

The most important thing about this package, is that it contains a modified version of the default Exception. We've tweaked it a little bit, to add support for custom HTTP status codes and messages. These custom HTTP status code are used in all of our projects to return project specific error codes to our mobile developers.

Therefore you will experience that a lot of the Nodes packages will have this core package as a required dependency, since it either utilizes the custom Exception or any of our helper methods.

Last but not least, this package also contains the package Browscap, which makes it easier to parse user-agents, which is quite handy when used with services like Bugsnag.

📦 Installation

To install this package you will need:

You must then modify your composer.json file and run composer update to include the latest version of the package in your project.

Or you can run the composer require command from your terminal.

🔧 Setup

Setup provider in config/app.php

Setup alias in config/app.php (optional)

Publish config files

If you want to overwrite any existing config files use the --force paramter

Notes

If you are using the Nodes\Http\Request\FormRequest present in this class, you will notice that on Web calls if validation fails it will report the exception (this does not interfere with the UX). This can be avoided by adding Illuminate\Validation\ValidationException to the $dontReport array on app/Exceptions/Handler.php. This is not needed for API calls since the exception will be Nodes\Validation\Exceptions\ValidationException and this does not report by default.

🏆 Credits

This package is developed and maintained by the PHP team at Nodes

Follow Nodes PHP on Twitter Tweet Nodes PHP

📄 License

This package is open-sourced software licensed under the MIT license


All versions of core with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version >=5.2.0 <6.15.0
symfony/http-kernel Version 2.8.*||3.0.*||3.1.*||3.2.*||3.3.*||4.1.*||4.3.*||4.4.*
browscap/browscap-php Version ^4.1
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 nodes/core contains the following files

Loading the files please wait ....