PHPackages                             curiositry/flexbox\_functions - 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. curiositry/flexbox\_functions

ActiveLibrary

curiositry/flexbox\_functions
=============================

A Flexbox CSS pre-processor

362PHP

Since Jun 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/curiositry/flexbox_functions)[ Packagist](https://packagist.org/packages/curiositry/flexbox_functions)[ RSS](/packages/curiositry-flexbox-functions/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Flexbox Functions
=================

[](#flexbox-functions)

Flexbox is an awesome tool for responsive frontend development. However, the spec is still in its infancy: the syntax has gone through three major revisions, and to support older browsers, it takes 4+ lines of code to do almost anything anything with flexbox.

For those who's preferred CSS preprocessor is PHP, I have made a simple script that include methods for all the flexbox properties I know. It really eases the pain of working with flexbox.

*NOTE: I have changed the License from GPL3 to MIT. This is a much more open-ended licence, and you can use it in non open source projects now. If you need an even more permissive licence, let me know and it will probably be granted.*

### Installation

[](#installation)

`composer install curiositry\flexbox_functions`

### Usage

[](#usage)

Include via composer at the top of your `style.php`:

```
