Download the PHP package g3n1us/pub without Composer

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

Pub :beer:

An opiniated, Laravel based CMS for publications with deep AWS integration, installable via Composer

Getting Started

The best way to get started using Pub is by setting up a dedicated EC2 instance. An instance profile should be set up with administrator priveleges. This way, the installer can set up an S3 bucket and other AWS resources for use with the application. After setup is complete, the extra priveleges that are not needed of the profile should be removed.

IMPORTANT! The instance should not be made publicly accessible at any time during setup and be sure to remove the extra priveleges from the instance profile

Installation

Install Laravel as normal. https://laravel.com/docs/installation

It is best to install Pub on top of a fresh Laravel installation. The Pub CLI installer will set up database connections, AWS resources, Google login and Dropbox integration.

After Laravel is installed, setup the basic authentication scaffolding by running:

php artisan make:auth
php artisan migrate

Note: if you get the error: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes Add the following to the boot() method of AppServiceProvider: Schema::defaultStringLength(191);

Install via Composer:

composer require g3n1us/pub

Note: you may have to include "minimum-stability": "dev" in your composer.json while Pub is still in development.

After this you must add the Pub service providers array in config/app.php.

'providers' => [

      /*
       * Laravel Framework Service Providers...
       */
      Illuminate\Auth\AuthServiceProvider::class,
      Illuminate\Broadcasting\BroadcastServiceProvider::class,
      // ...    

      G3n1us\Pub\Providers\PubProvider::class,        
      G3n1us\Pub\Providers\PubRouteProvider::class,        
      G3n1us\Pub\Providers\DropboxServiceProvider::class,
  ],

Once this is done, you can run setup via our CLI Artisan command:

php artisan pub

This will walk you through setup.

Post Setup

After setup is complete, publish your assets from the Pub package to the site:

php artisan vendor:publish
composer dump autoload

There are some other optional steps you can take:

Seed the site with placeholder content:

php artisan db:seed --class=PubDatabaseSeeder

If you'd like to send mail out of the box, you'll need to either set up an smtp and add it's credentials to the .env file. Or you can change

MAIL_DRIVER=smtp

to

MAIL_DRIVER=sendmail

to send email using the built in sendmail executable.

Note: Don't use this for production! You should use a dedicated mail option. Check out config/mail.php to set this and other mail related options.

Cheers! :beers: :beers:


All versions of pub with dependencies

PHP Build Version
Package Version
Requires league/flysystem-dropbox Version ^1.0
league/flysystem Version ^1.0
league/flysystem-aws-s3-v3 Version ^1.0
michelf/php-markdown Version ^1.6
laravel/socialite Version ^3.0
laravel/scout Version ^3.0
phpoffice/phpword Version v0.13.*
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 g3n1us/pub contains the following files

Loading the files please wait ....