Download the PHP package chicky/laravel-modules without Composer

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

Laravel-Modules

Latest Version on Packagist Build Status Scrutinizer Coverage Quality Score Total Downloads

Laravel laravel-modules
9.0 ^9.0

chicky/laravel-modules is a Laravel package which created to manage your large Laravel app using modules, mostly just use to support Gamota Landing System. Module is like a Laravel package, it has some views, controllers or models. This package is supported and tested in Laravel 9.

Install

To install through Composer, by run the following command:

The package will automatically register a service provider and alias.

Optionally, publish the package's configuration file by running:

Autoloading

By default, the module classes are not loaded automatically. You can autoload your modules using psr-4. For example:

Tip: don't forget to run composer dump-autoload afterwards.

Documentation

Basic documentation on https://docs.laravelmodules.com/.

Gamota Components Document

Requirements

1. Create Module

Way 1:

Create module with default

Way 2 (recommend):

Create module with components

Parameter --support="gamota" to generate module controller support Gamota Landing APIs

Run Migrate

2. Add Module to Sidebar in CMS

Insert this code @include('trianvip::partials.sidebar.trianvip') in file: resources/views/partials/sidebar.blade.php

3. Create Send Gift Console

4. Landing API docs

Login

Server & Role

Attend

Role Info

Spin

Rule

History

Rank

[Share]()

Login

Login Normal

  1. URL: api/<module_name>/login
  2. Method: POST
  3. Params:
    • username: String
    • password: String
  4. response: JSON

Login Google

  1. URL: api/<module_name>/login
  2. Method: POST
  3. Params:
    • google_token: String
  4. response: JSON

Login Facebook

  1. URL: api/<module_name>/login
  2. Method: POST
  3. Params:
    • facebook_token: String
  4. response: JSON

Server and Role

List Server

  1. URL: api/<module_name>/list-server
  2. Authorization: null
  3. Method: GET
  4. Params:
    • username: String
    • password: String
  5. response: JSON

List Role

  1. URL: api/<module_name>/list-role
  2. Headers: Authorization: Bearer <access_token>
  3. Method: GET
  4. Params:
    • server_id: Int
  5. response: JSON

Attend

Attend

  1. URL: api/<module_name>/attend
  2. Headers: Authorization: Bearer <access_token>
  3. Method: POST
  4. Params:
    • role_id: String
    • role_name: String
    • server_id: String
    • server_name: String
  5. response: JSON

Role Info

Get Role Info

  1. URL: api/<module_name>/get-role-info
  2. Headers: Authorization: Bearer <access_token>
  3. Method: GET
  4. Params:
    • role_id: String
  5. response: JSON

Spin

Spin

  1. URL: api/<module_name>/spin
  2. Headers: Authorization: Bearer <access_token>
  3. Method: POST
  4. Params:
    • role_id: String
    • server_id: String
    • type: Integer | Enum (1, 3, 6)
  5. response: JSON

Rule

Get Rule

  1. URL: api/<module_name>/rule
  2. Authorization: None
  3. Method: GET
  4. Params:
  5. response: JSON

History

List History

  1. URL: api/<module_name>/histories
  2. Headers: Authorization: Bearer <access_token>
  3. Method: GET
  4. Params:
    • role_id: String
    • type: String - Type: spin
  5. response: JSON

Rank

List Rank

  1. URL: api/<module_name>/api/ranks
  2. Authorization: None
  3. Method: GET
  4. Params:
  5. response: JSON

Share

Post Share

  1. URL: api/<module_name>/share
  2. Headers: Authorization: Bearer <access_token>
  3. Method: POST
  4. Params:
    • role_id: integer | required
  5. response: JSON

Get Total Share

  1. URL: api/<module_name>/total-share
  2. Authorization: None
  3. Method: GET
  4. Params:
  5. response: JSON

For Developer


All versions of laravel-modules with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-json Version *
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 chicky/laravel-modules contains the following files

Loading the files please wait ....