Download the PHP package samybgt/screenwidth without Composer

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

About Screenwidth

Screenwidth is a php laravel package with easy to use syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Screenwidth takes the pain out of development by easing common tasks used in many web projects, such as:

Screenwidth is accessible, powerful, and acts as a tools required for large, robust applications.

Using Screenwidth

When using css, the content of the page will update in realtime as the user resizes the window, whereas this package debounces a network request and updates the page on the next page request.

Installation

Default Breakpoints

Default breakpoints are given below:

Custom Breakpoints

(This step is optional)

If you want to change the breakpoints as per your need then please create a file in below location and then overwrite the values as per your need. It is a very powerful setting that gives full freedom to the developer to customize according to the requirement.

Loader

(This step is optional)

Only one time (in first load of application), you will get the message that says we are checking device width to give you the best view of the website. You can customize that UI by creating a file and giving own HTML.

Middleware

Middleware is already created by the vendor you just need to apply this middleware in your route group.

Example 1: Apply complete to the web.php file

Example 2: Apply to specific route group

On Screen Resize Event

All the code is readymade and ready to use. You don't need to worry about any coding, just include this file and resize will start working. It's important that you place it in the layout file for your application to look its best. I have it in my layout file app.blade.php and on the login/register pages.

Alternatively you can use the below code only if above directive doesn't work for you due to any version issue.

Helpers

Helpers function are already created by the vendor and you just need to call the function directly and use it in your code.

Contributing

Thank you for considering contributing to this tool!

Palani Kumar

Security Vulnerabilities & Suggestions

If you have any suggestions or if you discover a security vulnerability, please send an e-mail to Samy via [email protected]. All security vulnerabilities will be promptly addressed and we can collaborate on the suggestions

License

The MIT License (MIT). Please see License File for more information.


All versions of screenwidth with dependencies

PHP Build Version
Package Version
Requires jaybizzle/crawler-detect Version ^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 samybgt/screenwidth contains the following files

Loading the files please wait ....