Download the PHP package cogroup/cms without Composer

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

Latest Stable Version License

Important:

To avoid incompatibilities, it is necessary to remove popper, jquery and bootstrap from webpack; our library already includes the most recent ones.

Comment all require files in:

Cms

For Laravel < 5.7, please use the 1.6 branch!

For Laravel <= 6, please use the 1.8 branch!

For Laravel 7, please use the 2.0 branch!

For Laravel 8, please use the 3.0 branch!

COgroup - CMS package is a flexible way to add basic CMS system with Role-based Permissions to Laravel.

Contents

Installation

1) Run the command to install laravel/ui and generate scaffolding

2) In order to install COgroup - CMS, just add the following to your composer.json. Then run composer update:

or run the next command:

3) fixed Auth::routes, to avoid Clouser error

Remove Auth::routes from web.php file

4) Run the command below to publish the package config file config/cogroupcms.php:

5) Run the command below to execute migrations

6) Run the command below to seed

7) Run the command below to re-publish assets, config, custom error views, font, migrations and translations

6) Change default User model in config/auth.php file

InterventionImage

After you have installed Intervention Image, open your Laravel config file config/app.php and add the following lines.

In the $providers array add the service providers for this package.

Intervention\Image\ImageServiceProvider::class

Add the facade of this package to the $aliases array.

'ImageManager' => Intervention\Image\Facades\Image::class

Now the Image Class will be auto-loaded by Laravel.

Publish configuration in Laravel 5

Configuration

Set the property values in the config/cogroupcms.php. These values will be used by cogroup-cms to refer to the correct prefix, color theme and URI to CMS access.

User relation to roles

You may now run it with the artisan migrate command:

After the migration, seven new tables will be present:

Models

Files

The Files model has eight main attributes:

Modules

The Modules model has ten main attributes:

NoWorkingDays

The NoWorkingDays model has two main attributes:

Roles

The Role model has two main attributes:

RolesAccess

The RolesAccess model has six main attributes:

Settings

The Settings model has two main attributes:

User

This will enable the relation with Role.

And you are ready to go.

Usage

Middleware

You can use a middleware to filter routes and route groups by permission or role

It is possible to use comma symbol to verify until two actions:

Helper Permission

You can use a helper to verify a permission

Helpers

Cogroup - CMS includes a two "helper" PHP functions. These functions are used by the package itself; however, you are free to use them in your own applications if you find them convenient.

cms_get_modules

This function return a modules of the system, register into table modules.

cms_settings

This function return a object with settings values

Example: cms_settings()->sitename

cms_format_date

This function return a Carbon format date with the dateformat setting format

cms_format_time

This function return a Carbon format date with the timeformat setting format

cms_format_datetime

This function return a Carbon format date with the dateformat and timeformat setting format

cms_get_file_attribute

This function return a attribute FileModel

cms_get_total_unread_notifications

This function return a number of total unread notifications system

Dashboard

For change dashboard, change option dashboard into config/cogroupcms.php file. Add all namespace example: \App\Http\Controllers\MyDashboardController

Notifications Messages

config channels into config/cogroupcms.php via option

If use a mail channel add use Cogroup\Cms\Notifications\NewMessage; to your Controller.

For send message use Notification::send( $user, new NewMessage( $from, $message ) );

Notifications Javascript

This configuration to set a float message from Controller

Set 0 to error, 1 to success, 2 to info, 3 to warning

Set a position (top, bottom)

Set a align (left, center, right)

Set delay time (default: 4000)

Set a message

License

COgroup CMS is free software distributed under the terms of the MIT license.

Contribution guidelines

Support follows PSR-4 PHP coding standards, and semantic versioning.

Please report any issue you find in the issues page. Pull requests are welcome.


All versions of cms with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
laravel/socialite Version >=5.0
intervention/image Version >=2.5.1
thedoctor0/laravel-mailjet-driver Version >=1.0
laravel/ui Version >=3.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 cogroup/cms contains the following files

Loading the files please wait ....