Download the PHP package gp247/core without Composer

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

Core Laravel admin for all systems (ecommerce, cms, pmo...)
composer require gp247/core

Installation and documentation

Total Downloads Latest Stable Version License

About GP247

GP247 is a compact source code built with Laravel, helping users quickly build a powerful admin website. Whether your system is simple or complex, GP247 will help you operate and scale it easily.

What can GP247 do?

And more:

Laravel core:

GP247 1.x

Core laravel framework 12.x

Website structure using GP247

Website-folder/
|
├── app
│     └── GP247
│           ├── Core(+) //Customize controller of Core
│           ├── Helpers(+) //Auto load Helpers/*.php
│           ├── Plugins(+) //Use `php artisan gp247:make-plugin --name=NameOfPlugin`
  //(IF you have gp247/front installed)//
│           ├── Front(+) //Customize controller of Front 
  //(IF you have gp247/shop installed)//
│           ├── Shop(+) //Customize controller of Shop 
│           └── Templates(+) /Use `php artisan gp247:make-template --name=NameOfTempate`
├── public
│     └── GP247
│           ├── Core(+)
│           ├── Plugins(+)
  //(IF you have gp247/front installed)//
│           └── Templates(+)
├── resources
│            └── views/vendor
│                           |── gp247-core(+) //Customize view core
│                           └── gp247-front(+) //(IF you have gp247/front installed)//
├── vendor
│     ├── gp247/core
│     └── gp247/front
├── .env
│     └── GP247_ACTIVE=1 //ON|OFF gp247
└──...

Quick Installation Guide

Default, GP247 uses mysql. The configuration will be saved in the .env file as follows:

If you want to use sqlite for quick testing, please change the connection in the .env file to sqlite, and comment out the DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, DB_PASSWORD lines.

Useful information:

To view GP247 version

php artisan gp247:core-info

Update gp247

Update the package using the command:

composer update gp247/core

Then, run the command:

php artisan gp247:core-update

To create a plugin:

php artisan gp247:make-plugin --name=PluginName

To create a zip file plugin

php artisan gp247:make-plugin --name=PluginName --download=1

To create a template (IF you have gp247/front installed):

php artisan gp247:make-template --name=TemplateName

To create a zip file template:

php artisan gp247:make-template --name=TemplateName --download=1

Customize

Customize lfm configuration for upload

php artisan vendor:publish --tag=config-lfm

Customize core admin view

php artisan vendor:publish --tag=gp247:view-core

*Overwrite gp247_ helper functions**

Step 1: Add the list of functions you want to override to config/gp247_functions_except.php

Step 2: Create new php files containing the new functions in the app/GP247/Helpers directory, for example app/GP247/Helpers/myfunction.php

Overwrite gp247 controller files

Step 1: Copy the controller files you want to override from vendor/gp247/core/src/Core/Controllers -> app/GP247/Core/Controllers

Step 2: Change namespace GP247\Core\Controllers to namespace App\GP247\Core\Controllers

Overwrite gp247 API controller files

Step 1: Copy the controller files you want to override from vendor/gp247/core/src/Api/Controllers -> app/GP247/Core/Api/Controllers

Step 2: Change namespace GP247\Core\Api\Controllers to namespace App\GP247\Core\Api\Controllers

Add route

Use prefix and middleware constants GP247_ADMIN_PREFIX, GP247_ADMIN_MIDDLEWARE in route declaration.

References: https://github.com/gp247net/core/blob/master/src/routes.php

Environment variables in .env file

Quickly disable GP247 and plugins

GP247_ACTIVE=1 // To disable, set value 0

Disable APIs

GP247_API_MODE=1 // To disable, set value 0

Data table prefixes

GP247_DB_PREFIX=gp247_ //Cannot change after install gp247

Path prefix to admin

GP247_ADMIN_PREFIX=gp247_admin


All versions of core with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
unisharp/laravel-filemanager Version ^2.10
intervention/image-laravel Version ^1.5
spatie/laravel-pjax Version ^2.4
spatie/laravel-json-api-paginate Version ^1.16
phpoffice/phpspreadsheet Version ^2.0
jenssegers/agent Version ^2.6
barryvdh/laravel-dompdf Version ^v3.1
laravel/framework Version ^12.0
laravel/helpers Version ^1.7
laravel/legacy-factories Version ^1.4
laravel/sanctum Version ^4.0
laravel/tinker Version ^2.10.1
laravel/ui Version ^4.6
league/flysystem-aws-s3-v3 Version ^3.29
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 gp247/core contains the following files

Loading the files please wait ....