Download the PHP package webid/cms without Composer

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

CMS^ID

MIT Licence Logo

Table of contents


Requirements

Installation

1. Install the package

This package can be installed as a Composer dependency.

2. Publish files

Case 1 : First install

Case 2 : Second install (or after)

3. Install databases

4. Add nova-components in composer

Then run composer update

5. Prepare routes

You have to remove all routes from your routes/web.php file to make sure the cms will work properly.

If the project is a fresh Laravel project, you may have some generated code like this to remove :

6. Link storage files

Run command php artisan storage:link.

7. Configure sitemap.xml

If you want to allow robots to access your sitemap, add this line in the robots.txt file :

⚠ Replace www.your-domain.com by your actual website domain.

#f03c15 ⚠ ⚠ Do not delete existing code in nova-components !!! ⚠ ⚠ #f03c15


Customization

Disable robots follow

To disable the tracking of robots, you must add in the .env DISABLE_ROBOTS_FOLLOW=true

Use cookies.js

To use the cookies popin, just fill the resources/views/warning_cookies.blade.php view, include it in resources/views/template.blade.php with the js public/cms/js/cookies.js

Use form

js

do not modify the file send_form.js ! Edit the helper.js file with the form front information to display errors and the success message. Added to package.json :

In the webpack.mix file, add the send_form_js file. The file is already linked in the front.

front-end

You can change the form frontend but DO NOT TOUCH the submit_form class for sending forms.

Internationalization

Don't forget to create a service to display the languages as you need them. Use this service into a ViewServiceProvider to share both languages and translated slugs to views.

To create the service provider, you can run :

⚠ Don't forget to add the service provider in the file config/app.php.

Update email template

Template email in resources/views/mail/form.blade.php

You can change the design of the mail template but do not delete or modify the existing code! The present code allows you to display the fields of the form sent in the email.

Add images for components


Extending functionalities

Create a new component

1. create Models, migration, repositories, Nova, Resource for the new component (register all elements in a Components folder)
2. update config\component.php with the information of the new component and add the image of the component in public/components/
3. update App\Models\Template with the information of the new component
4. update Services\ComponentsService.php with the information of the new component
5. update nova-components\ComponentField with the information of the new component

Modules

Module form

1. Add in your .env file the SEND_EMAIL_CONFIRMATION key, to send or not to send a confirmation email


All versions of cms with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
laravel/framework Version ^9
laravel/nova Version ~2.0|~3.0
whitecube/nova-flexible-content Version ^0.2.0
idf/nova-html-card Version ^1.2
eminiarts/nova-tabs Version 1.3.*
digital-creative/collapsible-resource-manager Version ^1.2
digital-creative/conditional-container Version ^1.2
epartment/nova-dependency-container Version ^1.2
maatwebsite/laravel-nova-excel Version ^1.1
spatie/laravel-varnish Version ^2.8
spatie/laravel-honeypot Version ^4.0
ext-json Version *
symfony/polyfill-mbstring Version ^1.20.0
spatie/laravel-translatable Version ^6.0
tightenco/ziggy Version ^1.4
spatie/laravel-sitemap Version ^6.1
nwidart/laravel-modules Version 8.2.*
webid/nova-filemanager Version ^3.1.2
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 webid/cms contains the following files

Loading the files please wait ...