postedin / laravel-4-php-latest
The Laravel Framework. Legacy (4.2+) but working with latest versions of PHP and dependencies.
Requires
- php: >=7.1.0
- classpreloader/classpreloader: ~1.0.2
- d11wtq/boris: ~1.0
- filp/whoops: 1.1.*
- ircmaxell/password-compat: ~1.0
- jeremeamia/superclosure: ~1.0.1
- monolog/monolog: ~1.6
- nesbot/carbon: ~1.0
- patchwork/utf8: ~1.1
- phpseclib/phpseclib: 0.3.*
- predis/predis: 0.8.*
- stack/builder: ~1.0
- swiftmailer/swiftmailer: ~5.1
- symfony/browser-kit: 2.7.*
- symfony/console: 2.7.*
- symfony/css-selector: 2.7.*
- symfony/debug: 2.7.*
- symfony/dom-crawler: 2.7.*
- symfony/finder: 2.7.*
- symfony/http-foundation: 2.7.*
- symfony/http-kernel: 2.7.*
- symfony/process: 2.7.*
- symfony/routing: 2.7.*
- symfony/security-core: 2.7.*
- symfony/translation: 2.7.*
Requires (Dev)
- aws/aws-sdk-php: ~2.6
- iron-io/iron_mq: ~1.5
- mockery/mockery: ~0.9
- pda/pheanstalk: ~2.1
- phpunit/phpunit: ~4.0
Suggests
- doctrine/dbal: Allow renaming columns and dropping SQLite columns.
Replaces
- illuminate/auth: 4.4.0
- illuminate/cache: 4.4.0
- illuminate/config: 4.4.0
- illuminate/console: 4.4.0
- illuminate/container: 4.4.0
- illuminate/cookie: 4.4.0
- illuminate/database: 4.4.0
- illuminate/encryption: 4.4.0
- illuminate/events: 4.4.0
- illuminate/exception: 4.4.0
- illuminate/filesystem: 4.4.0
- illuminate/foundation: 4.4.0
- illuminate/hashing: 4.4.0
- illuminate/html: 4.4.0
- illuminate/http: 4.4.0
- illuminate/log: 4.4.0
- illuminate/mail: 4.4.0
- illuminate/pagination: 4.4.0
- illuminate/queue: 4.4.0
- illuminate/redis: 4.4.0
- illuminate/remote: 4.4.0
- illuminate/routing: 4.4.0
- illuminate/session: 4.4.0
- illuminate/support: 4.4.0
- illuminate/translation: 4.4.0
- illuminate/validation: 4.4.0
- illuminate/view: 4.4.0
- illuminate/workbench: 4.4.0
README
NOTE: this is to make things work in the latest version of PHP. It doesn't mean using PHP specific syntax will work with things like the queue serialization. For this you would most likely need to get the latest version of SuperClosure (https://github.com/jeremeamia/super_closure) working. We override a method to stop an error but nothing else.
Installation
composer install postedin/laravel-4-php-latest
Or change your laravel/framework
to postedin/laravel-4-php-latest
in your composer.json
and update the version.
Update your bootstrap/start.php
and replace
$framework = $app['path.base']. '/vendor/laravel/framework/src';
with
$framework = $app['path.base']. '/vendor/postedin/laravel-4-php-latest/src';
You still need to install php-mcrypt, using pecl. (https://stackoverflow.com/questions/55678023/how-to-install-mcrypt-on-php-7-3-3-ubuntu)
Changes
- Postgresql uses time zone on all timestamps in migrations, hardcoded for our use and updated tests, fork and remove those commits if you don't want to do this
PHP Compatibility
- fixed an error in SuperClosure which must be from a PHP version change (https://github.com/jeremeamia/super_closure)
- fixed broken query builder (E_NOTICE) due to a PHP 7.3 change to the
compact
function (https://www.php.net/compact#refsect1-function.compact-changelog) - fixed broken tests due to a PHP 7.2 change to
count
function (https://www.php.net/count#refsect1-function.count-changelog)
Laravel PHP Framework
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, queueing, and caching.
Laravel is accessible, yet powerful, providing powerful tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.
Official Documentation
Documentation for the framework can be found on the Laravel website.
Contributing
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.
Security Vulnerabilities
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell at taylor@laravel.com. All security vulnerabilities will be promptly addressed.
License
The Laravel framework is open-sourced software licensed under the MIT license