4002
Laravel 9.30 - Important Features You Should Know
4 min read
Laravel has been ranked among the most widely used PHP frameworks for a long time. Known for its attractive syntax, Laravel is an open-source PHP web application framework. Laravel has established itself as one of the standard frameworks for developers and businesses using PHP. It is an MVC framework for creating simple to complex web applications using the PHP programming language. It rigorously follows the MVC (model-view-controller) architectural paradigm. The new Laravel 9.30 release has included a lot of brand-new functionality. You can read about a new release of Laravel if you haven’t used it:
Added Laravel 9.30 has added stop_buffering config option to the logger Force option to make commands has been added As a config option, there is an added feature of read-only filesystem adapter decoration Added scoped filesystem driver
Fixed * Fixed QueryBuilder was not with array conditions
$disk = $filesystem->build([ ‘driver’ => ‘local’, ‘read-only’ => true, ‘root’ => ‘my-custom-path’, ‘url’ => ‘my-custom-url’, ‘visibility’ => ‘public’, ]);
Validator::make([ ‘is_company’ => ‘on’, ‘company_name’ => ‘Apple’, ], [ ‘is_company’ => ‘required|boolean’, ‘company_name’ => ‘required_if_accepted:is_company’, ]);
[ ‘s3’ => [ ‘driver’ => ‘s3’, ‘key’ => env(‘AWS_ACCESS_KEY_ID’), ‘secret’ => env(‘AWS_SECRET_ACCESS_KEY’), ‘region’ => env(‘AWS_DEFAULT_REGION’), ‘bucket’ => env(‘AWS_BUCKET’), ‘url’ => env(‘AWS_URL’), ‘endpoint’ => env(‘AWS_ENDPOINT’), ‘use_path_style_endpoint’ => env(‘AWS_USE_PATH_STYLE_ENDPOINT’, false), ‘throw’ => false, ], ‘s3_videos’ => [ ‘driver’ => ‘scoped’, ‘prefix’ => ‘path/for/videos’, ‘disk’ => ‘s3’, ], ]
// Test normal attachment. $this->assertTrue( $mailable->hasAttachment(‘Receipt.pdf’) );
// Test attachment from storage disk. $this->assertTrue( $mailable->hasAttachmentFromStorageDisk(‘s3’, ‘invoices’, $user->latest_invoice->name) );
// Test raw attachment. $this->assertTrue( $mailable->hasAttachedData(‘12345’, ‘confirmation.txt’) );
Read Also: Laravel 10 Latest Features!
$user = new EloquentModelStub([ ‘name’ => ‘Taylor Otwell’, ]);
$user->getOriginal(‘name’); // null
$user->getAttribute(‘name’); // Taylor Otwell $user->discardChanges(); $user->getAttribute(‘name’); // null
Eloquent, Laravel’s object-relational mapper (ORM), is one of the best features as it enables seamless interaction. By using Eloquent, Laravel removes the obstacles related to communicating with and crafting challenging SQL queries to retrieve data from your database. If you have doubts about that, you can easily hire dedicated laravel developers.
Eloquent ORM
Another crucial component of Laravel is the command line interface or Artisan CLI. With it, you don’t need to navigate through folders and files to create or alter any aspect of Laravel from the command line. You don’t even need to install a database client while using Artisan.
Bottom Line
Laravel has become the standard framework for businesses and developers using PHP. The laravel 9.30 release date is Sep 14, 2022. With the new update, Lavarel has moved up its standard by making it easy for developers.
Reference : https://laravel-news.com/laravel-9-30-0
Laravel has been ranked among the most widely used PHP frameworks for a long time. Known for its attractive syntax, Laravel is an open-source PHP web application framework. Laravel has established itself as one of the standard frameworks for developers and businesses using PHP. It is an MVC framework for creating simple to complex web applications using the PHP programming language. It rigorously follows the MVC (model-view-controller) architectural paradigm. The new Laravel 9.30 release has included a lot of brand-new functionality. You can read about a new release of Laravel if you haven’t used it:
Added Laravel 9.30 has added stop_buffering config option to the logger Force option to make commands has been added As a config option, there is an added feature of read-only filesystem adapter decoration Added scoped filesystem driver
Fixed * Fixed QueryBuilder was not with array conditions
$disk = $filesystem->build([ ‘driver’ => ‘local’, ‘read-only’ => true, ‘root’ => ‘my-custom-path’, ‘url’ => ‘my-custom-url’, ‘visibility’ => ‘public’, ]);
Validator::make([ ‘is_company’ => ‘on’, ‘company_name’ => ‘Apple’, ], [ ‘is_company’ => ‘required|boolean’, ‘company_name’ => ‘required_if_accepted:is_company’, ]);
[ ‘s3’ => [ ‘driver’ => ‘s3’, ‘key’ => env(‘AWS_ACCESS_KEY_ID’), ‘secret’ => env(‘AWS_SECRET_ACCESS_KEY’), ‘region’ => env(‘AWS_DEFAULT_REGION’), ‘bucket’ => env(‘AWS_BUCKET’), ‘url’ => env(‘AWS_URL’), ‘endpoint’ => env(‘AWS_ENDPOINT’), ‘use_path_style_endpoint’ => env(‘AWS_USE_PATH_STYLE_ENDPOINT’, false), ‘throw’ => false, ], ‘s3_videos’ => [ ‘driver’ => ‘scoped’, ‘prefix’ => ‘path/for/videos’, ‘disk’ => ‘s3’, ], ]
// Test normal attachment. $this->assertTrue( $mailable->hasAttachment(‘Receipt.pdf’) );
// Test attachment from storage disk. $this->assertTrue( $mailable->hasAttachmentFromStorageDisk(‘s3’, ‘invoices’, $user->latest_invoice->name) );
// Test raw attachment. $this->assertTrue( $mailable->hasAttachedData(‘12345’, ‘confirmation.txt’) );
Read Also: Laravel 10 Latest Features!
$user = new EloquentModelStub([ ‘name’ => ‘Taylor Otwell’, ]);
$user->getOriginal(‘name’); // null
$user->getAttribute(‘name’); // Taylor Otwell $user->discardChanges(); $user->getAttribute(‘name’); // null
Eloquent, Laravel’s object-relational mapper (ORM), is one of the best features as it enables seamless interaction. By using Eloquent, Laravel removes the obstacles related to communicating with and crafting challenging SQL queries to retrieve data from your database. If you have doubts about that, you can easily hire dedicated laravel developers.
Eloquent ORM
Another crucial component of Laravel is the command line interface or Artisan CLI. With it, you don’t need to navigate through folders and files to create or alter any aspect of Laravel from the command line. You don’t even need to install a database client while using Artisan.
Bottom Line
Laravel has become the standard framework for businesses and developers using PHP. The laravel 9.30 release date is Sep 14, 2022. With the new update, Lavarel has moved up its standard by making it easy for developers.
Reference : https://laravel-news.com/laravel-9-30-0
Laravel has been ranked among the most widely used PHP frameworks for a long time. Known for its attractive syntax, Laravel is an open-source PHP web application framework. Laravel has established itself as one of the standard frameworks for developers and businesses using PHP. It is an MVC framework for creating simple to complex web applications using the PHP programming language. It rigorously follows the MVC (model-view-controller) architectural paradigm. The new Laravel 9.30 release has included a lot of brand-new functionality. You can read about a new release of Laravel if you haven’t used it:
Added Laravel 9.30 has added stop_buffering config option to the logger Force option to make commands has been added As a config option, there is an added feature of read-only filesystem adapter decoration Added scoped filesystem driver
Fixed * Fixed QueryBuilder was not with array conditions
$disk = $filesystem->build([ ‘driver’ => ‘local’, ‘read-only’ => true, ‘root’ => ‘my-custom-path’, ‘url’ => ‘my-custom-url’, ‘visibility’ => ‘public’, ]);
Validator::make([ ‘is_company’ => ‘on’, ‘company_name’ => ‘Apple’, ], [ ‘is_company’ => ‘required|boolean’, ‘company_name’ => ‘required_if_accepted:is_company’, ]);
[ ‘s3’ => [ ‘driver’ => ‘s3’, ‘key’ => env(‘AWS_ACCESS_KEY_ID’), ‘secret’ => env(‘AWS_SECRET_ACCESS_KEY’), ‘region’ => env(‘AWS_DEFAULT_REGION’), ‘bucket’ => env(‘AWS_BUCKET’), ‘url’ => env(‘AWS_URL’), ‘endpoint’ => env(‘AWS_ENDPOINT’), ‘use_path_style_endpoint’ => env(‘AWS_USE_PATH_STYLE_ENDPOINT’, false), ‘throw’ => false, ], ‘s3_videos’ => [ ‘driver’ => ‘scoped’, ‘prefix’ => ‘path/for/videos’, ‘disk’ => ‘s3’, ], ]
// Test normal attachment. $this->assertTrue( $mailable->hasAttachment(‘Receipt.pdf’) );
// Test attachment from storage disk. $this->assertTrue( $mailable->hasAttachmentFromStorageDisk(‘s3’, ‘invoices’, $user->latest_invoice->name) );
// Test raw attachment. $this->assertTrue( $mailable->hasAttachedData(‘12345’, ‘confirmation.txt’) );
Read Also: Laravel 10 Latest Features!
$user = new EloquentModelStub([ ‘name’ => ‘Taylor Otwell’, ]);
$user->getOriginal(‘name’); // null
$user->getAttribute(‘name’); // Taylor Otwell $user->discardChanges(); $user->getAttribute(‘name’); // null
Eloquent, Laravel’s object-relational mapper (ORM), is one of the best features as it enables seamless interaction. By using Eloquent, Laravel removes the obstacles related to communicating with and crafting challenging SQL queries to retrieve data from your database. If you have doubts about that, you can easily hire dedicated laravel developers.
Eloquent ORM
Another crucial component of Laravel is the command line interface or Artisan CLI. With it, you don’t need to navigate through folders and files to create or alter any aspect of Laravel from the command line. You don’t even need to install a database client while using Artisan.
Bottom Line
Laravel has become the standard framework for businesses and developers using PHP. The laravel 9.30 release date is Sep 14, 2022. With the new update, Lavarel has moved up its standard by making it easy for developers.
Reference : https://laravel-news.com/laravel-9-30-0
Artificial Intelligence (AI)
Development
10811
By Devik Gondaliya
Development
ERP
2796
By Devik Gondaliya
Artificial Intelligence (AI)
Development
52808
By Devik Gondaliya
You are at the right place.
Projects Completed
Technical Experts
Happy Clients
Years of Experience
Book a free consultation call with us
By submitting this form, you agree to our Terms of Use and Privacy Policy. All information provided will be kept strictly confidential.