Download the PHP package rinvex/laravel-pages without Composer

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

Rinvex Pages

Rinvex Pages is an integral part for your Laravel content management system (CMS), it affords an easy, yet powerful way to create and manage pages with full control over their URLs, active status, titles, content, and other attributes.

Packagist Scrutinizer Code Quality Travis StyleCI License

Installation

  1. Install the package via composer:

  2. Publish resources (migrations and config files):

  3. Execute migrations via the following command:

  4. Done!

Usage

Create Your Page

To get started, you simply create a new page as follows:

Notes:

  • All active pages are registered automatically into your application router with page's attributes, so the example page we created above could be accessed via the URL http://your-project/test, and you can generate page's URL using the named route route('frontend.pages.test') as you may expect. The result of accessing that page is the content of the page's rendered view.
  • Rinvex Pages auto register routes for your active pages, but you can disable routes auto registration in case you need more flexibility writing your own routes and maybe linking to your custom controllers, and that could be done from the config file config/rinvex.pages.php if you already published it in the installation step.
  • Rinvex Pages expects you to create your own views before setting in page records, and that view could be anywhere and contain anything. It's important to know that all page views have access to the $page instance variable by default, so you can access any of the page's attributes.

ADVANCED: Attach Resources to Page

Sometimes you need to attach other resources to a specific page, to display later as "Related Content" for example, the presentation layer is left to you to implement, but the following is how to attach these resources programmatically.

To attach other resources to any page, follow these two steps:

  1. Use \Rinvex\Pages\Traits\Pageable trait in your resources you need to attach.

  2. Register your resource as a pageable, and add mutator setter/getter support for in your resource in the page's model. This is done in service provider boot method. See the following example of Article resource we're attaching to the page:

Changelog

Refer to the Changelog for a full history of the project.

Support

The following support channels are available at your fingertips:

Contributing & Protocols

Thank you for considering contributing to this project! The contribution guide can be found in CONTRIBUTING.md.

Bug reports, feature requests, and pull requests are very welcome.

Security Vulnerabilities

If you discover a security vulnerability within this project, please send an e-mail to [email protected]. All security vulnerabilities will be promptly contacted.

About Rinvex

Rinvex is a software solutions startup, specialized in integrated enterprise solutions for SMEs established in Alexandria, Egypt since June 2016. We believe that our drive The Value, The Reach, and The Impact is what differentiates us and unleash the endless possibilities of our philosophy through the power of software. We like to call it Innovation At The Speed Of Life. That’s how we do our share of advancing humanity.

License

This software is released under The MIT License (MIT).

(c) 2016-2022 Rinvex LLC, Some rights reserved.


All versions of laravel-pages with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1.0
illuminate/console Version ^10.0.0 || ^11.0.0
illuminate/database Version ^10.0.0 || ^11.0.0
illuminate/http Version ^10.0.0 || ^11.0.0
illuminate/routing Version ^10.0.0 || ^11.0.0
illuminate/support Version ^10.0.0 || ^11.0.0
rinvex/laravel-support Version ^7.0.0
spatie/eloquent-sortable Version ^4.0.0
spatie/laravel-sluggable Version ^3.4.0
symfony/console Version ^6.2.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 rinvex/laravel-pages contains the following files

Loading the files please wait ....