PHPackages                             samybgt/screenwidth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. samybgt/screenwidth

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

samybgt/screenwidth
===================

This package will allow you to get screen width in server side and use it

2.9(1y ago)0328PHP

Since Feb 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ishashankbhagat/samybgt-screenwidth)[ Packagist](https://packagist.org/packages/samybgt/screenwidth)[ RSS](/packages/samybgt-screenwidth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (20)Used By (0)

About 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:

- Easy to use helper functions.
- Get device type based on width.
- Check for a specific device type.

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

Using Screenwidth
-----------------

[](#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
------------

[](#installation)

```
composer require samybgt/screenwidth:2.3

```

Default Breakpoints
-------------------

[](#default-breakpoints)

Default breakpoints are given below:

```
