Download the PHP package timeshow/laravel-repository without Composer

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

Laravel Repository

Version Compatibility

Laravel Package
7.0 0.1.0
8.0 1.0.0
9.0 2.6.0
10.0 last version

Install

Via Composer

If you want to use the repository generator through the make:repository Artisan command, add the RepositoryServiceProvider to your config/app.php:

Publish the repostory configuration file.

Config

You must first configure the storage location of the repository files. you use it by extending the location repository files of your choice.

Basic Usage

Simply extend the (abstract) repository class of your choice, either TimeShow\Repository\BaseRepository, TimeShow\Repository\ExtendedRepository or TimeShow\Repository\ExtendedPostProcessingRepository.

The only abstract method that must be provided is the model method (this is just like the way Bosnadev's repositories are used).

Make Repository

The make:repository command automatically creates a new Eloquent model repository class. It will also attempt to link the correct Eloquent model, but make sure to confirm that it is properly set up.

Make Service

The make:service command automatically creates a new service object class.

Make Transformer

The make:transformer command automatically creates a new transformer array class.

Q&A

question1: Unable to locate publishable resources.

Getting results from Criteria

Methods

Use Methods: Find all results in Repository.

Search

can you use the search engine to search

Presenter

can you prompt for creating a Transformer too if you haven't already.

Or enable it in your controller with

You can use return ok/error in your services with BaseService instead of Exception

You can use TimeHelper in your code

You can use StringHelper in your code

Thanks


Thanks for the contributors (github.com)


All versions of laravel-repository with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^9.0 | ^10.0
illuminate/database Version ^9.0 | ^10.0
myclabs/php-enum Version ^1.7
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 timeshow/laravel-repository contains the following files

Loading the files please wait ....