Download the PHP package mtkh73/repo-handler without Composer

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

Build Status Total Downloads Latest Stable Version License

About RepositoryPattern

The Repository Pattern is one of the most popular patterns to create an enterprise level application. It restricts us to work directly with the data in the application and creates new layers for database operations, business logic, and the application’s UI. using the Repository Pattern has many advantages:

How to work with this package

php artisan make:repository ModelName

After installing this package, a command will be added on your artisan command with make:repository name. with this command you can create a repository class for your model classes.

After running this command if the model exists, a directory called Repository creates in your app directory.to use your repository class you can inject it in any controller that you want. after that you can easily use all of the features in your repository class.

etc

php artisan make:repository Models\User

In this example, you can see a method with setFilters name!

you can apply your any eloquent filters on your query.but where is these filters??

You can create your filters with this command: `php artisan make:filter With'` After creating the filter, the structure of this class like this : The implementation of your filter must be in the handle method! the args variable includes the value that you set on the setFilters method! **Be careful after creating the filters, you have to set filters on the repository config file.** In the repositories directory, there are 4 things! - a BaseRepository class that is the parent of all repositories that you created in your project and includes and contains a number of functions that can be the same in your repository classes. - a BaseRepositoryInterface class - a RepositoryServiceProvider for binding your repository classes to the interface that previously made. - and finally, a directory with your model name that includes a repository class is created and a directory with contracts name. **Be careful If you want using your repository class with their contracts you have to bind them together on the RepositoryServiceProvider class!** ## License The RepositoryPattern-handler is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

All versions of repo-handler with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1.3|7.2.*|7.3.*|7.4.*
laravel/framework Version ~5.8|6.*|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 mtkh73/repo-handler contains the following files

Loading the files please wait ....