Download the PHP package ikechukwukalu/makeservice without Composer

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

MAKE SERVICE

Latest Version on Packagist Quality Score Code Quality Known Vulnerabilities Github Workflow Status Total Downloads Licence

A laravel package for scaffolding Service, Traits, Enums, Facades, Actions, Repository and Interface classes.

REQUIREMENTS

STEPS TO INSTALL

SERVICE CLASS

To generate a new service class.

To generate a new service class for a particular request class.

To generate a service class and a form request class together

TRAIT CLASS

To generate a new trait class.

ENUM CLASS

To generate a new enum class.

ACTION CLASS

To generate a new action class.

CONTRACT CLASS

To generate a new contract/interface class.

REPOSITORY CLASS

To generate a new repository class for a particular contract/interface class.

To generate a repository class and a contract/interface class together

FACADE CLASS

To generate a new facade class.

To generate a facade class for a repository class

Bind the contract and the repository class

The last thing we need to do is bind UserRepository to UserRepositoryInterface in Laravel's Service Container. We will do this via a Service Provider. Create one using the following command:

Open app/Providers/RepositoryServiceProvider.php and update the register function to match the following:

Finally, add the new Service Provider to the providers array in config/app.php.

Bind the facade and the action class

If we have a User facade class and a UserService action class, we would need to add it to Laravel's Service Container. Facades for respository classes will work without any extra binding since they have already been added to the container within the RepositoryServiceProvider class, but we would always need to register every facade class we created.

Create the provider:

Bind the action class:

Register the providers:

Finally, add the facade to the aliases array in config/app.php.

LICENSE

The MS package is an open-sourced software licensed under the MIT license.


All versions of makeservice with dependencies

PHP Build Version
Package Version
Requires illuminate/console Version ^8.0|^9.0|^10.0
illuminate/support Version ^8.0|^9.0|^10.0
symfony/console Version ^5.4|^6.0
php Version >=7.3
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 ikechukwukalu/makeservice contains the following files

Loading the files please wait ....