Download the PHP package tomatophp/laravel-tomato without Composer

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

Screenshot

Laravel Tomato

Basic Laravel Helpers for requests and controllers build by TomatoPHP

Installation

Features

Usage

you can use the helper by Facade class or by using the helper function

or just

Register Components

you can register your menu, widget, or slot in your service provider boot() method

you can register any type of component and we will check it and handle it for you

all components have a macroable methods to add more functionality to it.

Get Components

you can get your components like this

it will return an array of registered components for you

Request

you can use the request helper to handle and validate your requests like this

🔁 Index Request

this method returns view or JsonResponse based on the request type. and we get the request type by check if the route has auth:sanctum middleware or not.

this method accept some arguments:

🔁 JSON Request

this method return only json response of the model to make it easy to access it with x-splade-select or x-tomato-admin-select

this method accept some arguments:

🔁 Get Request

this method returns view or JsonResponse based on the request type. and we get the request type by check if the route has auth:sanctum middleware or not.

this method accept some arguments:

🔁 Store Request

this method returns RedirectResponse or JsonResponse based on the request type. and we get the request type by check if the route has auth:sanctum middleware or not.

this method accept some arguments:

🔁 Update Request

this method returns RedirectResponse or JsonResponse based on the request type. and we get the request type by check if the route has auth:sanctum middleware or not.

this method accept some arguments:

🔁 Destroy Request

this method returns RedirectResponse or JsonResponse based on the request type. and we get the request type by check if the route has auth:sanctum middleware or not.

this method accept some arguments:

Request With Media

to make media handling work you must install spatie/laravel-medialibrary package and run the migration

and your model must use HasMedia trait

Handel Alerts

and we have handel Toaster for you if you are using Splade it will working automatically and if you have yoeunes/toastr package it will working fine too. or you can use fetch toaster variable from session to get the flash messages.

Support

you can join our discord server to get support TomatoPHP

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security

Please see SECURITY for more information about security.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-tomato with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2
spatie/macroable Version ^2.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 tomatophp/laravel-tomato contains the following files

Loading the files please wait ....