Download the PHP package strides/laravel-api-module without Composer

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

LARAVEL API MODULE v 1.0

installation

composer require laravel/api-module

setting add in the composer.json file to the autoload field

"Modules\\": "Modules/",

config published

php artisan vendor:publish --provider="Strides\Module\Providers\ModuleServiceProvider"

test setting

add in phpunit.xml 
<testsuite name="Modules">
    <directory suffix="Test.php">Modules/*/Tests/*</directory>
</testsuite>

create module

php artisan module:make-module ModuleName
creding module by config file

creating

create model

  1. php artisan module:make-model ModuleName

  2. php artisan module:make-model ModuleName -c controller

  3. php artisan module:make-model ModuleName -m migration

  4. php artisan module:make-model ModuleName -s seeder

  5. php artisan module:make-model ModuleName -f factory

  6. php artisan module:make-model ModuleName -r request

  7. php artisan module:make-model ModuleName -o resource

  8. php artisan module:make-model ModuleName -p repository

  9. php artisan module:make-model ModuleName -a all

  10. php artisan module:make-model ModuleName ModelName options

create migration

  1. php artisan module:migration ModuleName alter_table_posts

create controller

  1. php artisan module:make-controller Post

  2. php artisan module:make-controller Post -r request

  3. php artisan module:make-controller Post -o resource

  4. php artisan module:make-controller Post -p repository

  5. php artisan module:make-controller Post -a all

  6. php artisan module:make-controller Post NewsController -a

run migrations

  1. php artisan module:migrate ModuleName

  2. php artisan module:migrate ModuleName -f force

  3. php artisan module:migrate ModuleName -s seed

  4. php artisan module:migrate ModuleName -d database

  5. php artisan module:migrate ModuleName --step step

  6. php artisan module:migrate ModuleName --pretend pretend

  7. php artisan module:seed ModuleName (optional)

  8. php artisan module:migrate-status ModuleName (optional)

  9. php artisan module:migrate-rollback ModuleName (optional)

  10. php artisan module:migrate-reset ModuleName (optional)

  11. php artisan module:migrate-refresh ModuleName (optional) --seed --step=1


All versions of laravel-api-module with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
illuminate/support Version ^9.0|^10.0|^11.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 strides/laravel-api-module contains the following files

Loading the files please wait ....