Download the PHP package silnex/gula without Composer

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

그누보드로 RESTfull api 개발을 위한 Laravel Models

Installation

  1. 패키지 설치 composer require silnex/gula
  2. .env 설정

How to use

Laravel의 Eloquent 모델을 이용해 데이터 접근

자세한 사용법은 Laravel Eloquent 문서를 참고

Relationships

Laravel의 모델의 Relation을 사용해 다른 테이블의 내용을 쉽게 가져올 수 있습니다.

G5ModelFactory

미리 생성된 Model이 없는 경우나, 다른 DB에서 가져올 경우 G5ModelFactory를 통해 Model 인스턴스를 생성할 수 있습니다.

혹은 이를 응용해 다음과 같은 방법도 가능합니다.

자동 릴레이션

그누보드에선 새로운 게시판을 만들때 마다 g5_write_으로 시작하는 테이블이 생성됩니다. GuLa에선 이를 자동으로 릴레이션 해줍니다.

커스텀 모델 (테이블)

커스텀 모델을 직접 만들지 않고 커맨드로 생성 할 수 있습니다.

모델 생성

커맨드 php artisan g5model:write {table_name}를 입력하면 app/G5Models에 모델이 생성 됩니다.

예시

g5_write_table 생성

그누보드의 게시판 생성시 g5_write_free와 같은 자동생성되는 테이블들은
php artisan g5model:write {board}를 통해서 G5Model을 생성 할 수 있습니다.
기본적으로 wr_idwr_parent의 릴레이션이 추가되어있어 바로 사용하실 수 있습니다.

예시

g5_board테이블에 있는 모든 게시판 생성

php artisan g5model:write-all 명령어를 통해 자동으로 그누보드의 게시판 모델을 생성해 줄수 있습니다.

Todo


All versions of gula with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version ^7.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 silnex/gula contains the following files

Loading the files please wait ....