Download the PHP package c4studio/chronos without Composer

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

Chronos CMS


A developer friendly headless CMS built by C4studio.


Installation

It's as easy as:

composer require c4studio/chronos

After composer has run add following lines to the providers[] array in :

Install dependencies

You also need to add the service providers for all the dependencies in :

And also add the class aliases in the array:

Publish assets

Next we need to publish all the assets belonging to Chronos:

php artisan vendor:publish --tag=public

Note 1: if you would like to overwrite existing files, use the --force switch Note 2: if you wish to only publish Chronos assets, you might want to use the --provider flag.

Prepare User model

Next we need to prepare the User model to work with Chronos.

  1. First, let's move our User model into the App\Models namespace. It's just more organized this way.

  2. Open User.php and change the namespace to

  3. Add the ChronosUser trait to our model:

  4. Next, add some values to the appends[] array:

  5. Lastly, don't forget to tell Laravel where to look for our User model. Change the line in to:

Set APP_URL

Chronos requires you to set APP_URL in your .env file

Run migrations

Almost done. We need to run the migrations and seed our database:

Set up task scheduling

Chronos runs a couple of tasks in the background, so you will need to set up task scheduling by adding the following to your Cron entries on your server:

Install and configure Passport

  1. Add the following to the method in

  2. In , add the following to the array:

  3. Change the driver to in

  4. Run the install script of laravel/passport to generate our encryption keys:

  5. Finally, create a new token in the Chronos admin, .

http://c4studio.ro

P.S.: You're awesome for being on this page


All versions of chronos with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
intervention/image Version ^2.3
laravel/framework Version ^5.7|^6.0
laravel/passport Version >3.0
laravelcollective/html Version ^5.3|^6.0
lavary/laravel-menu Version ^1.6
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 c4studio/chronos contains the following files

Loading the files please wait ....