アプリ関連ニュース
- 2022年7月14日
- 技術情報
[Laravel] Auth 機能とMiddlewareの設定(3)
今回はLaravel標準の認証機能とMiddlewareによる認証チェック機能についての情報を
シェアしたいと思います。
本記事は前回の「[Laravel] Auth 機能とMiddlewareの設定(2)」の続きです。
nishida at 2022年07月14日 10:00:00
- 2022年7月12日
- 技術情報
5 useful image libraries for PHP developers
Today, I would like to share about 5 useful image libraries for PHP developers. Let’s take a look.
1. Zebra Image
This is a lightweight and object oriented image manipulation library. . It can convert one format to another format easily. The formats supported by Zebra Image including .JPG, .GIF and .PNG .
2. Dynamic Dummy Image Generator
This library is a free PHP script by which images of any size and color can be generated. And text can be written over the images.
3. PhpThumb
This library is a PHP image manipulating library that allows to rotate, crop, and watermark the mages and define their quality. It accepts all the source types for images.
4. Php Graphic Works
This library is for image manipulation on the server side. It allows to perform complex image processing in an easy way. It can perform rotating, cropping, resizing, stretching, and flipping.
5. Image Cache
This library is a lightweight PHP class to move, compress, and cache the image in the browser/ It can set various options such as the base URL, the directory, etc.
This is all for now. Hope you enjoy that.
By Asahi
waithaw at 2022年07月12日 10:00:00
- 2022年7月11日
- VR
Quest Pro, Meta’s next VR headset
The company, which was previously known as Facebook, will soon be able to release the first VR hardware piece from brand change to target last year. According to the report, the following headset is called Quest Pro.
Meta has refused to comment when the company was asked if it could be confirmed or rejected the name of the Quest Pro name.
QUEST 2 also helps users to see the actual environment without removing headphones. However, Quest Pro has a full color and more realistic capacity, in addition to the depth sensor that helps place digital objects in a physical space. If the rumors are correct, QUEST PRO may be ready to create a sophisticated AR experience. According to reports, Apple is also working on a mixed reality headset.
In May, an information report said that the new target headphones are expected to cost $ 799, while a report indicated that it will cost more than $ 1,000. Apple’s rumored headphones are also expected to be high-end.
Until now, the Meta’s business in virtual reality seems has not been profitable. In the first quarter of this year, Meta reality lost around $ 3 billion, and last year, the division lost more than $ 10 billion. Although Meta launched the Smart Ray-Ban glasses with a camera built last year, the company seems to be diverting its most informal hardware attention. After the slow growth of income and some hiring freezing, it is rumored that the company is reducing its plans to develop AR glasses. According to reports, goal is also stopping production in a smart watch with built-in cameras.
yuuma at 2022年07月11日 10:00:00
- 2022年7月08日
- 技術情報
知っておいていただきたいこと – 10
今回も、Laravelの知っておいた方がいいとおもったことをいくつか紹介します。
laravelのカスタム検証ルールが必要時、
ルール・オブジェクトを作成する代わりに、クロージャを使用するだけです。
もしルールを再利用する必要があれば、その時は*ルール・オブジェクトにします。
Validator::make($request->all(), [
'title' => [
'required',
'max:255',
function($attribute, $value, $fail) {
if($value === 'foo'){
$fail('The '. $attribute. 'is invalid');
}
},
]
]);
ということで、今回はこれで終わります。
金曜担当 – Ami
asahi at 2022年07月08日 10:00:00
- 2022年7月05日
- 技術情報
Some Key Differences between Laravel & Symfony
Today, I would like to share about some key differences between Laravel and Symfony. Lets’ take a look.
Laravel and Symfony are both popular PHP frameworks. They have a lot in common. But some are different. For differences, first of all is directory structure. Their directory structure are different.
CLI Tool
Laravel has php artisan cli tool whereas Symfony has php bin/console
Code base type
Laravel provides usage of Facades and helper functions whereas Symfony relys more on concept of Dependency Injection.
ORM
Default ORM of Laravel is Eloquent. Symfony’s default is Doctrine.
Template Engine
Laravel’s default template engine is blade whereas Symfony’s one is Twig.
Performance
If about performances, the measurements vary depending on many facts. But most voting for app speed are got by Laravel. However, Symfony is also known for its optimization and easy long-term maintenance.
Internationalization
Laravel supports only PHP and JSON whereas Symfony can use several formats such as PHP, XLIFF, .po mo and so on.
This is all for now. Hope you enjoy that.
By Asahi
waithaw at 2022年07月05日 10:00:00