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.
Vendor silnex Package gula Short Description Laravel for Gnuboard5 License
MIT
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.
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_id와 wr_parent의 릴레이션이 추가되어있어 바로 사용하실 수 있습니다.
예시
g5_board테이블에 있는 모든 게시판 생성
php artisan g5model:write-all 명령어를 통해 자동으로 그누보드의 게시판 모델을 생성해 줄수 있습니다.
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 ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.