Download the PHP package wika-group/livewire-slide-over without Composer

On this page you can find all versions of the php package wika-group/livewire-slide-over. 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 livewire-slide-over

Livewire slide over panel

Slide Over Panel is a Livewire component that provides slide overs that support multiple children while maintaining state. This package is fork of batnieluyo/livewire-slide-over, a livewire component that renders slide over with state management on livewire.

Upgrading from v1

After updating the package, you can use the following command to automate the upgrade process.

This command scans your application and configuration files and automatically updates deprecated namespaces to the new package structure.

The old namespace is being deprecated and has been replaced by the new WikaGroup namespace.

Please review the updated files to ensure the new namespace is applied consistently across your project.

Installation

To get started, require the package via Composer:

Livewire directive

Add the Livewire directive @livewire('slide-over-panel') directive to your master layout.

Creating a Slide Over

You can run php artisan make:livewire ShoppingCart to make the initial Livewire component. Open your component class and make sure it extends the SlideOverComponent class:

Opening a Slide over

To open a slide over you will need to dispatch an event. To open the ShoppingCart slide over for example:

TailwindCSS

The base modal is made with TailwindCSS. If you use a different CSS framework I recommend that you publish the modal template and change the markup to include the required classes for your CSS framework.

Building Tailwind CSS for production

To purge the classes used by the package, add the following lines to your purge array in tailwind.config.js:

Because some classes are dynamically build you should add some classes to the purge safelist so your tailwind.config.js should look something like this:

For TailwindCSS 3x

Configuration

You can customize the Modal via the wire-elements-modal.php config file. This includes some additional options like including CSS if you don't use TailwindCSS for your application, as well as the default modal properties.

To publish the config run the vendor:publish command:

License

Livewire Slide Over is open-sourced software licensed under the MIT license.


All versions of livewire-slide-over with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
livewire/livewire Version ^3.4 | ^4.0
spatie/laravel-package-tools Version ^1.92
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 wika-group/livewire-slide-over contains the following files

Loading the files please wait ...